0
Why test case 4 is falied ?
I don't know about the test case 4's input of the popsicles challenge . So,help me https://code.sololearn.com/cy9s0eryP2C7/?ref=app
2 Respuestas
+ 2
siblings = int(input())
popsicles = int(input())
#your code goes here
if siblings<=popsicles:
if popsicles%siblings==0:
print('give away')
else:
print('eat them yourself')
else:
print('eat them yourself')
You missed else statement at the last
+ 1
RAJESH SAHU
Oh , thanks for that .
So , the test case four has siblings greater than the popsicles . That's why it is failed .