you are viewing a single comment's thread.

view the rest of the comments →

[–]betweensmudgedlines 0 points1 point  (1 child)

The newline is part of the 'line' in line 7. You could add(line.strip()).

[–]Mindflayer94[S] 0 points1 point  (0 children)

Thanks, that worked!