I'm back!
age = int(input("Enter your age: "))
print(f"You are {age * 7} dog year(s) old.\nYou are {15 if age == 1 else 24 if age == 2 else 24 + (age - 2) * 4} cat year(s) old.")
Code Forum is a community that developers trust to help them exceed expectations. Where developers can learn, share and build their developer toolkit.
Our mission is to help each other learn, build and share using code. By providing a community that supports each other, through discussion & question-based threads, to providing resources that will give developers the upper hand on creating their project.