I just started a script where I take in a text file (words.txt) where there is a new word each line. I used a while loop to read each line and a split to assign the words to a variable. My problem is that the output is not the word, it is the number of characters plus one. For example, the first word is 'tutor' and the print statements prints '6'. I'm thinking its because of the newline that it is adding one but even so, I don't know why its not printing the string. Ive used this type of statement before and never had issues.

When putting a smiley right before a closing parenthesis, do you:

Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Other