+ 2
In the problem Paint costs i wrote this code. Is there any error as it shows 1 case has failed.I don't understand pls explain
pnt = int(input()) cst = 5*pnt + 40 tax = cst*(10/100) ttlcst = round(cst + tax) print(ttlcst)
2 odpowiedzi
+ 2
Just use ceil() instead of round()
https://code.sololearn.com/cmMYeSA3BAf5/?ref=app
+ 2
Thanku Arsenic now my code worked but what was the problem wid my version??