Tom_Jung

Untitled

Apr 8th, 2019
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. exercise = int(input("How many time a week do you exercise - 1 or 2 or 3 "))
  2. hydration = input("Do you drink water frequently: Y or N ")
  3.  
  4. if (exercise==1 or exercise==2)and hydration=="Y":
  5. print("You need to exercise more often")
  6.  
  7. elif(exercise==1 or exercise==2) or hydration=="N":
  8. print("You need to join an health club or get an exercise partner")
  9.  
  10. if exercise==3 and hydration=="N":
  11. print("You need to drink water during excises")
  12.  
  13. elif exercise==3 and hydration=="Y":
  14. print("Good show! Keep it up")
Advertisement
Add Comment
Please, Sign In to add comment