Teo_Yanchev

cat_walking_28-29-2020_exam

Jul 17th, 2020
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. minutes = int(input())
  2. walks_per_day = int(input())
  3. calories_taken_per_day = int(input())
  4.  
  5. walks = minutes * walks_per_day
  6. calories = walks * 5
  7. percent = calories_taken_per_day * 0.50
  8. if calories >= percent:
  9. print(f"Yes, the walk for your cat is enough. Burned calories per day: {calories}.")
  10. else:
  11. print(f"No, the walk for your cat is not enough. Burned calories per day: {calories}.")
Add Comment
Please, Sign In to add comment