0

Task(paint costs)

canvas = 40.00 color = 5.00 count_color = int(input()) price = canvas + (count_color * color) procent = price * 0.1 print(int(price + procent)) What's wrong in this code? Pls help me)

15th Feb 2024, 9:39 AM
ŠŸŃ–Š³Ń–Š“Š° Š”Š°Š½ŠøŠ»Š¾
ŠŸŃ–Š³Ń–Š“Š° Š”Š°Š½ŠøŠ»Š¾ - avatar
1 Answer
+ 3
Read the task description more carefully. The Output Format says: A number that represents the cost of your purchase ROUNDED UP to the nearest whole number. You need a math module here. Search for "Python math module" and learn how to use it.
15th Feb 2024, 10:34 AM
Wong Hei Ming
Wong Hei Ming - avatar