Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- people = int(input())
- capacity = int(input())
- if people // capacity <= 1:
- print(1)
- elif people % capacity == 0:
- print(people // capacity)
- else:
- result = (people // capacity) + 1
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment