Need help with Halloween candy | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Need help with Halloween candy

So I got the first two right but the last ones are locked and I can't see why houses = int(input()) #your code goes here dollars = 2 chances = round(dollars / houses * 100) print(chances)

13th Dec 2023, 3:59 AM
Marshall Lance Freeman
Marshall Lance Freeman - avatar
1 Answer
+ 5
You need to round up (ceil)
13th Dec 2023, 5:56 AM
Mafdi
Mafdi - avatar