Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- needed_hours = int(input())
- days = int(input())
- workers = int(input())
- total_hours = int(days * 0.9 * workers * (8 + 2))
- if needed_hours > total_hours:
- print(f'Not enough time!{needed_hours - total_hours} hours needed.')
- else:
- print(f'Yes!{total_hours - needed_hours} hours left.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement