+ 2

Popsicles code, test case 4 is wrong but hidden

Hey, if anyone knows python better than I do, could you please help me and look at what wrong with my code, test case 4 is wrong for some reason, thanks 👍 siblings = int(input()) popsicles = int(input()) if siblings % 3 == 0 and popsicles % 3 == 0: print("give away") elif siblings % 2 == 0 and popsicles % 2 == 0: print("give away") else: print("eat them yourself")

11th Feb 2021, 10:00 PM
Jack Jennings
Jack Jennings - avatar
3 Réponses
11th Feb 2021, 10:20 PM
Ded
+ 12
Abdulaziz Al-Shehhi my pleasure :)
11th Feb 2021, 10:28 PM
Ded
+ 1
yeah that one helped thanks tara
11th Feb 2021, 10:28 PM
Jack Jennings
Jack Jennings - avatar