# loop_EOF.py #input numbers one per line from user until EOF (Ctrl+D on Windows, probably Linux too) #In CMD/Terminal, can redirect file of numbers of one per line: loop_EOF.py