Search⌘ K
AI Features

Challenge: Our Age in Days

Explore Python's basic math capabilities by creating a program that calculates the number of days you've been alive. Learn to combine arithmetic operations within print statements to see immediate results, building foundational coding skills through a practical challenge.

We'll cover the following...

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:

  1. Taking your age in years

  2. Multiplying it by the number of days in a year (365)

  3. Printing the result

💡 Hint:
Put the math expression inside print().

When you click Run, Python should show a single number.

Python