Aug-26-2019, 09:32 PM
(Aug-26-2019, 08:24 PM)d3fi Wrote: But for me this is an achivement. Cant get my arms down
Would your arms be up if we just gave you the code?
Now, here's how I might have done it:
vaegt = int(input('Hvad vejer patienten? ')) remainder = vaegt % 5 vaegt -= remainder if remainder > 2: vaegt += 5
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures