Challenge: About You
Explore how to store personal data using variables in Python and print sentences that include your name and age. Learn core concepts of variable assignment and printing multiple items to build your foundation in coding.
We'll cover the following...
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.