+ 1
Why won't solo learn accept my solution concerning the popsicles problem by code coach?
I don't know how to share link so let me just post the code here: s = input ('Please enter the number of siblings:') print ('There are', s,'number of siblings') p = input ('Please enter the number of popsicles in the box:') print ('There are', p,'number of popsicles') x = int(s) y = int(p) if y % x== 0: print('Give away') else: print('Eat them yourself')
3 ответов
0
Would you mind trying out the problem?
0
The Code Coach looks for the output *exactly* as written in the description.
So lose the unnecessary print statements and correct the letter case in the main ones.