[Tutor] if/else statement
Shane Johnson (shanejoh)
shanejoh at cisco.com
Tue Jul 18 13:31:20 EDT 2017
I am doing the codeacademy python class and have the following code:
if answer is '>' 5
elif answer is < 5:
I’m getting a invalid syntax line 2 error. Any assistance is greatly appreciated.
[cid:image001.png at 01D2FFCA.286FD4E0]
Network Consulting Engineer
shanejoh at cisco.com<mailto:paroche at cisco.com>
Phone: +1 770-236-3970
Mobile: +1 404-966-5334
[cid:image002.png at 01D2FFCA.286FD4E0]Think before you print.
This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
For corporate legal information go to:
More information about the Tutor