I got 99 problems



how did you get it to work? This is what I am doing and is not working.

def greater_less_equal_5(answer):
if 6>5:
return 1
elif 3<5:
return -1
return 0

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

It is only prting:

and gives me this message:

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!

Thanks for the help!

I Got 99 Problems, But a Switch Ain't One

so what should it print?

everytime you are just calling the function by giving arguments.but did you use those arguments inside function?
you are checking

if 6>5:
    return 1

so simply its True always

and always you should create a new topic.dont post on other's topic :slight_smile: