Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

jralls

  • one year 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
    • one year 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
    • one year 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
    • one year 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

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.