Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import ceil
- steps = int(input())
- dancers = int(input())
- days = int(input())
- day_step_percent = ceil(steps / days / steps * 100)
- dancer_step_percent = day_step_percent / dancers
- if day_step_percent < 13:
- print(f"Yes, they will succeed in that goal! {dancer_step_percent:.2f}%.")
- else:
- print(f"No, they will not succeed in that goal! Required {dancer_step_percent:.2f}% steps to be learned per day.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement