Skip to main content

Project: age program

Your first project is here!

Create a Python application that asks the user for their age in years, and prints back the number of seconds they've lived for. Try to use f-strings if possible.

Optionally, extend it so it prints months, days, hours, and seconds.

Here's an editor you can use:

tip

The # sign in Python signals a comment.

Comments are not executed, they're there to help you write English words inside your program in case you want to add explanations. You can also use them to add notes while you learn!