+ 2

Code coach

Could someone help me with ā€œpopsiclesā€? (Itā€™s a case from code coach) My code is: siblings = int(input()) popsicles = int(input()) x = (popsicles//siblings) y = (popsicles - x) print("eat them yourself", x) print("give away", y) I canā€™t understand what I did wrong :( Whatā€™s in incorrect? Maybe I didnā€™t get what was the goals in this case ā€¦.

16th Feb 2023, 3:06 PM
ŠŠ»ŠµŠŗсŠ°Š½Š“рŠ° Š‘Š¾Š½Š“Š°Ń€ŠµŠ½ŠŗŠ¾
ŠŠ»ŠµŠŗсŠ°Š½Š“рŠ° Š‘Š¾Š½Š“Š°Ń€ŠµŠ½ŠŗŠ¾ - avatar
2 Answers
+ 4
Task Goal is print "give away" if popsicles can be evenly distributed to siblings, otherwise print "eat them yourself".
16th Feb 2023, 3:21 PM
Jayakrishna šŸ‡®šŸ‡³
+ 1
Jayakrishna šŸ‡®šŸ‡³ oh, probably I just havenā€™t learn how to make this statement (if can be evenly distributed). Thanks!!!
16th Feb 2023, 3:32 PM
ŠŠ»ŠµŠŗсŠ°Š½Š“рŠ° Š‘Š¾Š½Š“Š°Ń€ŠµŠ½ŠŗŠ¾
ŠŠ»ŠµŠŗсŠ°Š½Š“рŠ° Š‘Š¾Š½Š“Š°Ń€ŠµŠ½ŠŗŠ¾ - avatar