0

Why I get no output on this?

siblings = int(input()) popsicles = int(input()) #your code goes here def give (a,b): if b%a == 0: return ("give away") else: return ("eat them yourself") give(siblings , popsicles )

11th Aug 2022, 3:57 AM
Edgar Lindo
Edgar Lindo - avatar
3 Answers
+ 2
The code has no print statement.
11th Aug 2022, 4:04 AM
Brian
Brian - avatar
+ 1
Edgar Lindo def give (a,b): if b%a == 0: return ("give away") else: return ("eat them yourself") siblings = int(input()) popsicles = int(input()) print(give(siblings , popsicles )) Brian 💯
11th Aug 2022, 4:10 AM
BroFar
BroFar - avatar
+ 1
Of course... thanks..
11th Aug 2022, 4:11 AM
Edgar Lindo
Edgar Lindo - avatar