Paint Costs Code Coach - Python Help!
I've attempted the 'Paint costs' code coach, and have run into a wall. My code works for three of the five test cases, but the test cases which it doesn't work for are locked, so I can't see why they're not working. Here is the task, plus my code. Any help would be greatly appreciated! --------- You are getting ready to paint a piece of art. The canvas and brushes you want to use will cost 40.00. Each colour of paint that you buy is an additional 5.00. Determine how much money you will need based on the number of colours that you want to buy if tax at this store is 10%. Task Given the total number of colours of paint that you need, calculate and output the total cost of your project rounded up to the nearest whole number. Input format An integer that represents the number of colours that you want to purchase for your project. Output format A number that represents the cost of your purchase rounded up to the nearest whole number. ---------- My code: canvas_brushes = 40.00 paint = 5.00 paint_number = int(input()) paint_total = paint_number * paint total = canvas_brushes + paint_total tax_total = 1.1 * total print(int(tax_total))