The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

error in instructions?

error in instructions?

0
Votes
1
Answer

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.  

1 Answer

365 Team
0
Votes

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

×
LAST CHANCE
Ready to Learn Data Science?
50% OFF