Why this Halloween candy code doesn't workšŸ˜ | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 1
Thank you And im confused why round function didn't work
7th Jun 2020, 8:02 AM
Ayash Sameer
Ayash Sameer - avatar