+ 1
What is wrong with this code?
houses = int(input()) if houses>=3: dolla = 2*100 ans = ((dolla)/houses) print(round(ans))
4 Answers
+ 1
ceil()
but I think you have to add 'from math import ceil'
0
The Halloween Candy task instructs you to ensure the answer gets rounded up to the nearest dollar. You used the wrong rounding function. There is another one that always rounds up.
0
Which one?
Brian
0
Worked
Aurélien Robert