Files edited on Unix will always end with a newline because of POSIX conventions, so if we use a file edited on Mac/Linux we get a different output from what we would get if we use a file edited on Windows with the code as it is.
Output using file edited on Windows:

Output using file edited on Linux:
