0
Someone please help!!
In this popsicle question, my code testing was approved for test 1,4 and 5 but showing wrong on 2 and 3 test but my output is same according to the answer!! https://code.sololearn.com/cBBWWUrn2svI/?ref=app
2 odpowiedzi
+ 3
https://code.sololearn.com/c8hvDx9Q6Ko6/?ref=app
https://code.sololearn.com/cXrwvtE3Qh8L/?ref=app
https://code.sololearn.com/cQ31hST5K3w9/?ref=app
Check these out
+ 1
siblings = int(input())
popsicles = int(input())
if popsicles % siblings == 0:
print ("give away")
else :
print ("eat them yourself")
See this . This will be correct . Actually you are finding reminder by deviding siblings with popsicles. But you need to do opposite