a guest Jun 23rd, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 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