Tom_Jung

Untitled

Mar 12th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. dog_age = int(input("how old is your dog? "))
  2.  
  3. dog_years = dog_age * 7
  4.  
  5. print("Your dog's age is", round(dog_years, 2), "dog years.")
  6.  
  7. if dog_age > 10:
  8. print("Bless his or her sweet heart.")
Advertisement
Add Comment
Please, Sign In to add comment