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?
Have you posted a 3.3 yet? I can't seem to find it.
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.
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 :)
I like your solution much better than mine. You get the job as the registrar, and I go back to school. :)
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. :)
Join our real-time social learning platform and learn together with your friends!