Answers for "calculator age oython"

3

age calculator in python

import datetime 
Year_of_birth = int(input("In which year you took birth:- "))
current_year = datetime.datetime.now().year
Current_age = current_year - Year_of_birth
print("Your current age is ",Current_age)
Posted by: Guest on June-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language