Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- employee_one = int(input())
- employee_two = int(input())
- employee_three = int(input())
- num_of_students = int(input())
- students_per_hours = employee_one + employee_two + employee_three
- hours = 0
- while num_of_students > 0:
- hours += 1
- if hours % 4 == 0:
- continue
- num_of_students -= students_per_hours
- print(f"Time needed: {hours}h.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement