Advertisement
pacho_the_python

Untitled

Jan 21st, 2022
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. people = int(input())
  2. capacity = int(input())
  3.  
  4. turns = 0
  5.  
  6. while True:
  7.     people -= capacity
  8.     turns += 1
  9.     if people <= 0:
  10.         break
  11. print(turns)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement