Skip to content

Files

Latest commit

 

History

History

Calculate_age

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Calculate Your Age!

This script prints your age in three different ways :

  1. Years
  2. Months
  3. Days

Prerequisites

You only need Python to run this script. You can visit here to download Python.

How to run 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

Author Name

Gaodong