Challenge: About You
We'll cover the following...
Python can remember information by storing it in variables.
A variable has:
a name
an equals sign (
=)a value (like text or a number)
Your task:
Store your name in a variable
Store your age in a variable
Print a sentence that uses both of them
💡 Hints:
Text (like a name) goes inside quotation marks
Numbers (like an age) do not
You can print multiple things at once by separating them with commas
When you click Run, Python should print a sentence about you.
Python
name = "" # Add/change your name hereage = 0 # Add/change your age hereprint("Hi, my name is", name, "and I’m", age, "years old.")