|
Why?? I showed my code throws an error if the input hexamester is not included in courses and my code was considered wrong!!! It's unfair!!! I removed the example "print is_offered(courses, 'cs003', 'dec2012')" at the end of my page and my exercise is correct!! I don't want complain of automatic corrections, but I'm a bit vexed!! My solution:
|
|
Hi @shilaghae -- this is already being talked about in http://www.udacity-forums.com/cs101/questions/50042/hw-53-why-incorrect |
|
My code works exactly like yours and it was graded correctly. Judging from the other posts, I guess there was a bug in the grading script. My submission was: |
|
I know what is the problem, at the end of my page I'm used to writing some examples, as follow:
The last one only to demonstrate that the code throws an error when it is runned, (how the Node required). Removing the last example and pushing "submit" again, my answer is considered correct!!
link
This answer is marked "community wiki".
|