Friday, 28 February 2014

PostingError

A little late, but I guess late is better than never! This blog covers material covered during week #4, which is the week that we had Exercise #2 due. 

I found this exercise easy enough... or at least part 1. That part of the code ran first shot - how ever problems arose when I tried implementing the second part. For some reason, it would run for me when I tried it in the python shell yet it failed the majority of the auto-testers. I know my error was in the way I implemented the return statement and how it caught the wrong exception due to the inheritance of other Exceptions.  Time to read up on inheritance... 

No comments:

Post a Comment