How old is your cat?
Edit in new window
bubble
play_circle
Run
stop_circle
Stop
cancel
Clear
text_increase
text_decrease
light_mode
routine
dark_mode
restart_alt
Reset
download_for_offline
Download
help
Help
main.py
+
#Cat's Age Convertor - http://www.101computing.net/cat-age-calculator/ ageOfCat = int(input("How old is your cat (in years)?")) convertedAge = 0 #Work out the equivalent in human years base don the age of the cat: if ageOfCat == 1: convertedAge = 15 elif ageOfCat == 2: convertedAge = 15 + 9 else: #COMPLETE THE CODE HERE... You will need to use a mathematical formula! print("...") #Display the result (converted age) to the end-user print("In human years your cat is the equivalent of " + str(convertedAge) + " years old.")
task_alt