# 99 Problems

#1

I have looked at all of the other threads of people stuck on this lesson and still don't get it. This is what I have:
if 6 > 5:
return 1
elif 6 < 5:
return -1
else:
return 0

print greater_less_equal_5(4)
print greater_less_equal_5(5)
print greater_less_equal_5(6)

But it says:
Oops, try again. It looks like your function output 1 instead of -1 when answer is 3. Make sure you filled in the if and elif statements correctly!

I really don't understand what else I am supposed to do or what they mean when they say answer is 3. Please help!

#2

Try to compare answer with 5.

#3

Literally no help at all. Any further advise?

#4

what's the point to take `answer` as parameter? you passed arguments for it but did you use it in your function?

it means when you pass `3` as argument your function output should be `-1`.

here you passed 4,5,6 as argument

``````print greater_less_equal_5(4)
print greater_less_equal_5(5)
print greater_less_equal_5(6)``````

#5

But why? Function has one parameter so this parameter should be compared with 5.

#6

#7

Find the solution yet? I'm still stuck on it too..

#8

What it's looking for is that (answer) is greater, less or equal to 5. Here is what i came up with.

if (answer) > 5:
return 1
elif (answer) < 5:
return -1
else:
return 0

print greater_less_equal_5(4)
print greater_less_equal_5(5)
print greater_less_equal_5(6)

#9

Thanks everyone! I get it now. The answer was literally answer.

#12