0

[Solved] Why are test case 3 and 4 not correct?

https://www.sololearn.com/coach/22?ref=app Edit 1 My code: paints = int(input()) cp = 40 + (paints * 5) print(cp + (cp // 10))

9th Jun 2021, 10:35 AM
Bhagabanta Giri
Bhagabanta Giri - avatar
3 Respuestas
+ 2
Bhagabanta Giri There should be print (round(cp + cp * 10 / 100))
9th Jun 2021, 10:57 AM
A͢J
A͢J - avatar
+ 4
tests cases are all correct ^^ your code is surely not, as you think that cases 3 and 4 are not... ... but without providing your code, we cannot help you to debug it ;P
9th Jun 2021, 10:40 AM
visph
visph - avatar
9th Jun 2021, 10:59 AM
Bhagabanta Giri
Bhagabanta Giri - avatar