Calculate Your Age!
This script prints your age in three different ways :
- Years
- Months
- Days
Prerequisites
You only need Python to run this script. You can visit here to download Python.
How to run on localhost the script
Running the script is really simple! Just open a terminal in the folder where your script is located and run the following command :
`python calculate.py`
Sample use of the script
$ python calculate.py
input your name: XYZ
input your age: 33
XYZ's age is 33 years or 406 months or 12328 days