i need help in this python code coach. [popsicles][SOLVED] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

i need help in this python code coach. [popsicles][SOLVED]

https://www.sololearn.com/coach/3?ref=app this is my code: siblings = int(input()) popsicles = int(input()) remaining_pop = popsicles - siblings if remaining_pop == 0: print("give away") else: print("eat them yourself") however i know it is wrong because it only passed case 1.. i really need a guide to understand how the algorithm of this question works. i will appreciate your help. :(

5th May 2021, 12:28 PM
Ŕøşē
Ŕøşē - avatar
1 Answer
+ 3
I discovered that there are a couple of questions like this. Sorry to bother: https://www.sololearn.com/Discuss/2531599/popsicles
5th May 2021, 12:37 PM
Ŕøşē
Ŕøşē - avatar