0

Has anyone solved the Halloween Candy in python 3?

I am able to solve the first two test results but not last three. They are hidden so I don't know where I am going wrong

4th Sep 2020, 7:53 PM
Mansi Goel
Mansi Goel - avatar
2 odpowiedzi
+ 7
Are you rounding the result up? import math ... ... print(math.ceil(result))
4th Sep 2020, 8:45 PM
ChaoticDawg
ChaoticDawg - avatar
+ 2
post your code mine was only 3 lines
4th Sep 2020, 8:07 PM
Roderick Davis
Roderick Davis - avatar