Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

AppylPye

  • 2 years ago

Following is a link to a solution for MIT OCW 6.189 Mechanical MOOC Homework 3, Exercise 3.4 - More About Dictionaries: http://ideone.com/XIjxht Does anyone have additional solutions to post for comparison?

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

    Have you posted a 3.3 yet? I can't seem to find it.

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

    I'm not very excited about my solution to that problem, but here it is: http://ideone.com/yioELL It probably would be more efficient to use two dictionaries - one listing all the classes, and another with a key for each course, with each of those keys mapping to a list of all the classes in that course.

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

    I had more fun with this than the colliding balls, although they were fun once I sorted the formulas. http://ideone.com/58OqMe I'm still not thinking in Python, you string things together while I step them out. You are setting a good example though :)

  4. AppylPye
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I like your solution much better than mine. You get the job as the registrar, and I go back to school. :)

  5. AlbionsRefuge
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Here we go again with 3.4, same sort of differences. http://ideone.com/ACCYoc People who learn Python before anything else might get over this quicker that I am. :)

  6. 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