9 Antworten
+ 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
+ 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:)