Problems with Halloween Candy challenge | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Problems with Halloween Candy challenge

I’ve partially solved the challenge, but I’m having problems with getting the correct answer for the last 3 inputs. It runs correctly for the first two, but I don’t know what’s running wrong on the last 3 houses = int(input()) #your code goes here P = (2/houses) * 100 print(round(P)) What tips might you guys have that could be causing the errors S/O to Alexandr for the help 👍🏾

5th Jan 2020, 4:40 PM
Jason Chadwick
Jason Chadwick - avatar
1 Answer
29th Jun 2020, 6:48 PM
Darshan R
Darshan R - avatar