fork download
  1. def wiele(kwota):
  2. ile = kwota // 5
  3. kwota = kwota % 5
  4. ile = ile + kwota // 3
  5. kwota = kwota % 3
  6. ile = ile + kwota
  7. return ile
  8. print(wiele(23))
  9.  
Success #stdin #stdout 0.11s 14104KB
stdin
Standard input is empty
stdout
5