0
Code coach: Paint cost
Im trying to solve it using python my code is: colour = int(input()) def calc(colour): total = int(((colour * 5) + 40) * 1.10) return total print(calc(colour)) Test case 1,2,5# passed but 3 and 4 failed
1 Odpowiedź
+ 4
> A number that represents the cost of your purchase ***rounded up*** to the nearest whole number.