Write a Python program that asks the user for their dog’s na…
Write a Python program that asks the user for their dog’s name, birth year, and the current year. The program should then calculate the dog’s current age in human years using the below rules then print the dog’s current age in dog years along with the dog’s name. If the dog is 2 years old or younger: Dog years = Human years × 10.5 If the dog is older than 2 years: Dog years = (2 × 10.5) + ((Human years – 2) × 4)
Read Details