Advertisement
Spocoman

Voleyball

Feb 16th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. year = input()
  2. p = int(input())
  3. h = int(input())
  4.  
  5. game = ((48 - h) * 3 / 4) + h + p * 2 / 3
  6.  
  7. if year == "leap":
  8.     game *= 1.15
  9.  
  10. print(int(game))
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement