On 2017-01-18 19:51, Smith wrote:
If you're wondering about the blank lines, it's because the lines end with '\n', which starts a new line, and the print function also starts a new line after printing the string.Hi all, could you do better? Thank you in advancelink code: https://repl.it/FMin/8
Try stripping the '\n' off the end of the line read in with the .rstrip method.
-- https://mail.python.org/mailman/listinfo/python-list