Skip to content

Commit 90baf54

Browse files
authored
Merge pull request Python-World#286 from random1001guy/brief-description
described the script functioning of calculate_age
2 parents 7f15666 + 99af419 commit 90baf54

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

projects/Calculate_age/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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

0 commit comments

Comments
 (0)