Challenge: Write a Character Introduction
You can use print() to display both text and variables together in one sentence.
In this challenge, you’ll create a short introduction for a fictional character by:
Storing information in variables
Printing sentences that mix text and those variables
Your task:
Create variables for your character’s:
name (text)
species (text)
age (number)
Use
print()to introduce your character in one or two sentences
💡 Hints:
Text goes inside quotation marks
Numbers do not
Inside
print(), you can separate text and variables using commas
Example output (yours can be different):
Meet Zorblax, a 402-year-old alien.Zorblax has an incredible power: teleportation!
When you click Run, Python should print your character’s introduction.
Challenge: Write a Character Introduction
You can use print() to display both text and variables together in one sentence.
In this challenge, you’ll create a short introduction for a fictional character by:
Storing information in variables
Printing sentences that mix text and those variables
Your task:
Create variables for your character’s:
name (text)
species (text)
age (number)
Use
print()to introduce your character in one or two sentences
💡 Hints:
Text goes inside quotation marks
Numbers do not
Inside
print(), you can separate text and variables using commas
Example output (yours can be different):
Meet Zorblax, a 402-year-old alien.Zorblax has an incredible power: teleportation!
When you click Run, Python should print your character’s introduction.