8 Respostas
+ 4
siblings = int(input())
popsicles = int(input())
#your code goes here
print("give away" if popsicles%siblings==0 else "eat them yourself" )
+ 4
By solving the code coach
+ 2
Also you may try using
siblings = int(input())
popsicles = int(input())
if popsicles % siblings == 0:
print("give away")
else:
print("eat them yourself")
+ 2
PyNon , great thinkers think alike lol
+ 1
It seems you might be having some issues with your logic. Try using this.
print("give away" if (popsicles % siblings ==0) else "eat them yourself")
+ 1
Thanx kannan the challenge is solved with your logic☺️☺️☺️
+ 1
Welcome Purbayan Saha
+ 1
@kannan tnx bro it helped:)