In brief, I'm feeding my code a piece of unformatted source code. My code transforms the text into a string, then list in order to easily iterate through the latter and format depending on the...