Advertisement
_MIMBOL_

Untitled

Oct 30th, 2020
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. dl = int(input("\n"))
  2. sh = int(input("\n"))
  3. vy = int(input("\n"))
  4. if(sh > dl):
  5. ogal = sh/dl <= 2
  6. else:
  7. ogal = dl/sh <= 2
  8. if(sh < dl):
  9. tgal = sh/vy >= 2
  10. else:
  11. tgal = dl/vy >= 2
  12.  
  13. if(ogal and tgal):
  14. print("good")
  15. else:
  16. print("bad")
  17.  
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement