help, please - I can\'t understand my own code! lol I\'m fairly new at python and after many trials and errors, I got my code to work, but there is one particular part of it