Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guests = int(input())
- budget = int(input())
- budget -= guests * 20
- if budget < 0:
- print(f"They won't have enough money to pay the covert. They will need {abs(budget)} lv more.")
- else:
- print(f"Yes! {round(0.40 * budget)} lv are for fireworks and {round(0.60 * budget)} lv are for donation.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement