0
Python Popsicles please help
This is what I created siblings = int(input()) popsicles = int(input()) answer = popsicles % siblings if(answer == 1): print("eat them yourself") else: print("give away") It's not working
1 Antwort
+ 3
Suppose you have 3 siblings and 5 popsicles. 2 popsicles would ve left and you'd eat all popsicles yourself. However in your current code, you only eat them when you have exactly 1 left over.