Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

AGE CALCULATOION IN PYTHON

#AGE CALCULATOION IN PYTHON:

def calculator(age):
    age = (2022 - int(age))
    print("You are "+str(age)+" years Old")
calculator(input("Type your Birth Year: "))

#The easy way to calculate anyones age.Very simple trick.
# Just call a function
Source by codefantasy.org #
 
PREVIOUS NEXT
Tagged: #AGE #CALCULATOION #IN #PYTHON
ADD COMMENT
Topic
Name
3+1 =