a guest Jun 23rd, 2018 59 Never
- text_file= open ("textfile.txt", "r+")
- z =""
- while ( z!= "break\n"):
- z = raw_input ("enter your name or break to exit:")
- text_file = open ("testfile.txt", "r")
- print "The names you've entered into the text files are:", textfile.read()
RAW Paste Data