0
Why this is failing in some places .
Help me to solve it . https://code.sololearn.com/c1T8p461fif9/?ref=app
2 Respostas
0
I would suggest using float for all the calculations, then rounding at the end.
0
import math
And change this line
tax = ((canvas + cost_paint )//10)
To
tax = math.ceil((canvas + cost_paint) * .1)
You can get the input as an int()