Challenge: Our Age in Days
Python can do basic math, just like a calculator.
For example:
+adds numbers*multiplies numbers
You can use math inside the print() function, and Python will calculate the result for you.
Your task:
Estimate how many days you’ve been alive by:
Taking your age in years
Multiplying it by the number of days in a year (365)
Printing the result
💡 Hint:
Put the math expression inside print().
When you click Run, Python should show a single number.
Challenge: Our Age in Days
Python can do basic math, just like a calculator.
For example:
+adds numbers*multiplies numbers
You can use math inside the print() function, and Python will calculate the result for you.
Your task:
Estimate how many days you’ve been alive by:
Taking your age in years
Multiplying it by the number of days in a year (365)
Printing the result
💡 Hint:
Put the math expression inside print().
When you click Run, Python should show a single number.