File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Calculate Your Age!
2+ <!-- Remove the below lines and add yours -->
3+ This script prints your age in three different ways :
4+ 1 . Years
5+ 2 . Months
6+ 3 . Days
7+
8+
9+ ## Prerequisites
10+ <!-- Remove the below lines and add yours -->
11+ You only need Python to run this script. You can visit [ here] ( https://www.python.org/downloads/ ) to download Python.
12+
13+
14+ ## How to run the script
15+ <!-- Remove the below lines and add yours -->
16+ Running the script is really simple! Just open a terminal in the folder where your script is located and run the following command :
17+
18+ `python calculate.py`
19+
20+
21+ ## Sample use of the script
22+ <!-- Remove the below lines and add yours -->
23+ ```
24+ $ python calculate.py
25+ input your name: XYZ
26+ input your age: 33
27+ XYZ's age is 33 years or 406 months or 12328 days
28+ ```
29+
30+ ## * Author Name*
31+ <!-- Remove the below lines and add yours -->
32+ random1001guy
You can’t perform that action at this time.
0 commit comments