Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

jralls

  • 2 years ago

When trying to run the lecture code from lecture 3, I continue to get a syntax error on each section. I am using Python 3.3.3 and IDLE on a Mac. Any ideas?

  • This Question is Closed
  1. jralls
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    With more searching, I found that the demo code is not compatible with Python version 3.0 and higher.

  2. jhayman
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I experienced errors with 3.3.3. The course notes suggest using an earlier version, so I downloaded 2.7.6. on my mac and it has worked well so far. I'm not at lecture 3 yet, so I can't speak directly to your problem, but I would start with using 2.7.6. The newer version has some different rules and (i think) keywords that can mess you up.

  3. HoboCannibaL
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    the code won't work with 3.3.3 you must get 2.7.6 if you want to follow the code from the lecture. If you're using 3.3.3 it has some changes like print is a function...for example: print("Hello, World!")

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy