0

What is the solution of the "paint costs" problem in the code coach

I have solved it but the app tell me that the solution is not completed. https://code.sololearn.com/cJQ8U7dvYkPO/?ref=app

7th Jun 2020, 4:39 PM
Mohamed kamal
2 Respuestas
+ 1
You're printing the float value for an odd number of colors. You need to round up then. There is always an integer value as result expected.
7th Jun 2020, 5:33 PM
Sandra Meyer
Sandra Meyer - avatar