error in instructions?
Hi - in the Introduction to Python Course Notes lesson called Introduction to the IF statement lesson (pg 26 of 56) it gives instructions:
if 5 == 15/3:
print "Hooray" But when I execute this it throws an error telling me to add parenthesis around the "Hooray" which makes sense. Why would the lesson not include the parenthesis? Otherwise this lesson is very confusing. Any thoughts? Thank you.
print "Hooray" But when I execute this it throws an error telling me to add parenthesis around the "Hooray" which makes sense. Why would the lesson not include the parenthesis? Otherwise this lesson is very confusing. Any thoughts? Thank you.
1 answers ( 0 marked as helpful)
Hi Thomas!
Thanks for reaching out.
Thank you very much for pointing this out and please excuse us for the inconvenience.
I've adapted this slide for Python 3 already. Therefore, please reply to this message if you are unable to obtain the updated version for any reason. Thank you.
Hope this helps.
Best,
Martin
Best,
Martin