Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def catYears(x):
- if x == 1:
- print("1 human year is equal to 15 cat years.")
- elif x == 2:
- print("2 human years is equal to 24 cat years.")
- elif x == 3:
- print("3 human years is equal to 28 cat years.")
- elif x == 4:
- print("4 human years is equal to 32 cat years.")
- elif x == 5:
- print("5 human years is equal to 36 cat years.")
- elif x == 6:
- print("6 human years is equal to 40 cat years.")
- elif x == 7:
- print("7 human years is equal to 44 cat years.")
- elif x == 8:
- print("8 human years is equal to 48 cat years.")
- elif x == 9:
- print("9 human years is equal to 52 cat years.")
- elif x == 10:
- print("10 human years is equal to 56 cat years.")
- elif x == 11:
- print("11 human years is equal to 60 cat years.")
- elif x == 12:
- print("12 human years is equal to 64 cat years.")
- elif x == 13:
- print("13 human years is equal to 68 cat years.")
- elif x == 14:
- print("14 human years is equal to 72 cat years.")
- elif x == 15:
- print("15 human years is equal to 76 cat years.")
- elif x == 16:
- print("16 human years is equal to 80 cat years.")
- elif x == 17:
- print("17 human years is equal to 84 cat years.")
- elif x == 18:
- print("18 human years is equal to 88 cat years.")
- elif x == 19:
- print("19 human years is equal to 92 cat years.")
- elif x == 20:
- print("20 human years is equal to 96 cat years.")
- elif x == 21:
- print("21 human years is equal to 100 cat years.")
- elif x == 22:
- print("22 human years is equal to 104 cat years.")
- elif x == 23:
- print("23 human years is equal to 108 cat years.")
- elif x == 24:
- print("24 human years is equal to 112 cat years.")
- elif x == 25:
- print("25 human years is equal to 116 cat years.")
- else:
- print("ERROR: Please enter the year with a value 1-25")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement