I think the challenge here is understanding the action/function of the word "answer" and how to write the syntax that allows the function "greater" to calculate that the "answer" is in fact "greater" than 5.
I've tried several mathematical equations and can't get the "equal to" to work. I've tried "answer ==5" . I've tried "answer 10-5." For greater than I configured "answer > 5" I don't know if that's correct because my instance is only throwing an error at line 6 "else answer equals 5."
What I know about programming would fit into a thimble and all I've learned is from this fantastic learning program in the past 2 hours. SO - There are some functions in this module that are new and have not been covered in this syntax. What is the syntax to compare "print greater...(4)" to the number 5?
you mean like this:
if answer > 5 :
elif answer < 5 :
if that's what you are saying - that's what I was using BUT the output from that gives me this:
Shouldn't the order of those be: