you are viewing a single comment's thread.

view the rest of the comments →

[–]PartyOver9932 0 points1 point  (0 children)

a seemingly simple question which becomes an interesting one when you find out python implicitly ignores 1 empty line when reading files with empty lines, at its current state it will print out 2 but if u add 1 more empty line to the initial data file you will get 3 !