Done with PS3! http://codepad.org/BM4weH4a I am wondering though if anyone has any suggestions or improvements for part 4. Mine works fine, but i feel like there must be a nicer or better way to do it. So if anyone cares to show how they did it that would be great!
Oh, and ignore the two print statements at the bottom of the code for part 4...that was just for testing
I tested the last part (see http://codepad.org/7eHoELbm). Seemed to catch all the near matches and not the exact match, so it appears to work well. And by testing your code, I think I finally figured out a bug in my own script. It was such a simple thing, but it completely evaded me until I saw the output in your program. I'm madly in love with this study group. I'll post my solution when I'm done. I've gotten side-tracked by a networking class I'm also taking right now. Not enough hours in the day...
Well im glad that my code could be of help! It is always the simplest things that are the hardest to catch lol This study group has definitely made this process much less stressful.
Thought I would add this excellent quote...“ Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. ” - Brian Kernighan
Join our real-time social learning platform and learn together with your friends!