0
How participate in challenges (python)?
I would like to participate in the challenges of this app, but I always get the message "no output". What do I need to do to get an output?
3 ответов
+ 2
You defined the function. If you want to use the function, you need to call it.
+ 1
You need to use the print() to print output. If you need help with your code, please link your code.
0
siblings = int(input())
popsicles = int(input())
#your code goes here
def func(siblings, popsicles):
if popsicles%siblings==0:
print("give away")
else:
print("eat them yourself")