No. You're still reading line by line, which requires an EOL mark at the end of a line.
The input of NOVICE24 is broken, as I stated above, i.e. some (or all?) values are not separated by an EOL, but by spaces or tabs.
As this doesn't effect the typical way of reading these kind of data in languages like C/C++ and others, it is often not noticed until a language (like Python and some others) is used, where this effects the typical way of reading input from stdin.
Indeed the documentation of the standard-library for Python 3.x is worse than that for Python 2.x at that point, but if you read the chapter about file objects in the Python 2.6 standardlib docu that should help to find out, how you can read the whole(!) input as a single string, that can be processed afterwards: http://docs.python.org/release/2.6.6/library/stdtypes.html#file-objects2
@Moderators: Thread should perhaps be moved to Python section.