Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

jralls

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?

  • 4 months ago
  • 4 months ago

  • This Question is Closed
  1. jralls
    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.

    • 4 months ago
  2. jhayman
    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.

    • 4 months ago
  3. HoboCannibaL
    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 months ago
    • Attachments:

See more questions >>>

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.