fork download
  1. def trzy(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(trzy(99))
Success #stdin #stdout 0.03s 9624KB
stdin
Standard input is empty
stdout
21