+ 1
Paint costs code coach
#cb stands for canvas and brushes #nc stands for no of colors #cp stands for cost of color #tc1 stands for total cost before tax #tc2 stands for total cost + tax import math cb = int(40) nc = int(input()) cp = int(5) tc1 = int(cb + (nc * cp)) tax = math.ceil((tc1*10)/100) tc2 = tc1 + tax print(tc2)
1 Odpowiedź
+ 2
What's the issue? There are no errors in this code.