Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dancers = int(input())
- points = float(input())
- season = input()
- destination = input()
- total = dancers * points
- if destination == "Abroad":
- total *= 1.5
- if season == "summer":
- total *= 0.9
- else:
- total *= 0.85
- else:
- if season == "summer":
- total *= 0.95
- else:
- total *= 0.92
- print(f"Charity - {total * 0.75:.2f}")
- print(f"Money per dancer - {total * 0.25 / dancers:.2f}")
Add Comment
Please, Sign In to add comment