Got it!


#1


https://www.codecademy.com/courses/python-beginner-BxUFN/3/4?curriculum_id=4f89dab3d788890003000096#


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 am not sure if I am overthinking this or not, I thought this question wanted you to propose any number being greater than or less than 5.


#2

@batmania2,
could you provide the code you have used....


#3

I realized what I had done wrong, it was wanting me to use (answer) for my function. I attempted to remove this post and could not figure out how. Thank you! :smile: