Heyyy I'm trying to do the popsicles coding challenge but my code isn't working. Can someone pls help me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Heyyy I'm trying to do the popsicles coding challenge but my code isn't working. Can someone pls help me?

siblings = int(input()) popsicles = int(input()) #your code goes here if popsicles/siblings: print("give away") else: print("eat them yourself")

1st May 2023, 7:12 PM
Rainnn
Rainnn - avatar
5 Answers
+ 8
Rainnn , you have registered just 5 days ago for sololearn. > the task for the popsicles is very basic. so i would recommend you continue learning from the python tutorial. also practice what you have learned. > then try to solve the task again.
1st May 2023, 7:29 PM
Lothar
Lothar - avatar
+ 7
Understand the difference between the operators /, %, and // in python. You can solve it easily, if you understand task correctly....
1st May 2023, 7:38 PM
Jayakrishna 🇮🇳
+ 6
Please read the task properly. What is it you need to do? What example do they provide? Does your code meet that example when you run it?
1st May 2023, 7:15 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
okk I'll keep learning and try again later! thanks!!
1st May 2023, 7:36 PM
Rainnn
Rainnn - avatar
+ 2
got it thanks!!
1st May 2023, 7:39 PM
Rainnn
Rainnn - avatar