Why this Halloween candy code doesn't work😐 | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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
1 Respuesta
+ 1
Thank you And im confused why round function didn't work
7th Jun 2020, 8:02 AM
Ayash Sameer
Ayash Sameer - avatar