+ 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)

28th Jul 2020, 2:35 PM
M.V. SAI VARA PRASAD
1 Antwort
+ 2
What's the issue? There are no errors in this code.
28th Jul 2020, 3:03 PM
Sanjyot21
Sanjyot21 - avatar