...

/

Solution: Write a Character Introduction

Solution: Write a Character Introduction

We'll cover the following...

In this example, we’re creating a character profile using multiple variables to store different pieces of information about the character.

C++
name = "Zorblax"
species = "alien"
age = 402
home_planet = "Nebulon-5"
special_ability = "teleportation"
print("Meet", name, "a", age, "year-old", species, "from", home_planet + ".")
print(name, "has an incredible power:", special_ability + "!")
    ...