0

Why this Halloween candy code doesn't work😐

houses = int(input()) if houses >= 3: print(round((2/houses)*100)) else : raise VlaueError #your code goes here #this code is regarding on the Halloween Candy problem

7th Jun 2020, 6:56 AM
Ayash Sameer
Ayash Sameer - avatar
3 Antworten
+ 1
Thank you And im confused why round function didn't work
7th Jun 2020, 8:02 AM
Ayash Sameer
Ayash Sameer - avatar