We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f3eb31 commit 3f0109cCopy full SHA for 3f0109c
Age calculator/README.md
@@ -0,0 +1,10 @@
1
+<h1>Age calculator </h1>
2
+
3
+**You will required to enter following credential**
4
+- Enter your name
5
6
+- Your birth year
7
8
+- Then a program will return your name and current age in number
9
10
Age calculator/age.py
+name = input("What is your name: ")
+Birth_Year = int(input("Enter your birth year: "))
+Current_time = 2022
+def age_caluu():
+ Age_calculated = (Current_time - Birth_Year)
+ print ('Hey {} your age is {}'.format(name, Age_calculated))
+age_caluu()
0 commit comments