+ 1

[Question] Halloween Candy code coach

Please why is the following code wrong , got the first two cases https://code.sololearn.com/cB0zfp96RRJ7/?ref=app

30th Jul 2020, 3:19 PM
BRYAND CHE
BRYAND CHE - avatar
4 Respostas
+ 1
Try to use ceil method from math module instead of round from math import ceil print(ceil(a)) *and remove your "if" condition it doesn't have anything to do..
30th Jul 2020, 3:28 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
30th Jul 2020, 3:33 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
Pls what's the difference
30th Jul 2020, 3:28 PM
BRYAND CHE
BRYAND CHE - avatar
0
Thanks
30th Jul 2020, 3:37 PM
BRYAND CHE
BRYAND CHE - avatar