While learning about python, I came upon this code, which takes a text file, splits each line into an array, and inserts it into a custom dictionary, where the array[0] is the k
strip removes the whitespace from the beginning and end of the string. If you want the whitespace, don't call strip.
strip