The code snippet below is part of a homework problem I'm doing for class. I've re-worked code and searched the internet for close to an hour hoping to come across some decrypting documentation that might shed some light on my problem.
I expect the file to open, but for some reason it's not opening.
Any help would be greatly appreciated.
(Note of Disclaimer: I'm not expecting anyone to do my homework, I simply would like a fresh pair of eyes to look at my code.)