What I want on the first run thru is to ask for input, print input, ask for 2nd input, print 2nd input. End the first run, saving inputs to text file. My results are:
input 1 again.
input 2 again.
On the 2nd time thru, it works exactly the way I want it to:
print all inputs in one line, (ex: input 1.input2.), ask for 3rd input,
prints saved inputs + new input 3 and asks for input 4.
while True: oinp = open('open_inputs.txt','r') for line in oinp: print(line) inp = input('Enter text, or "Enter" to quit: ') oinp = open('open_inputs.txt','a') oinp.write(inp, ) print (inp) oinp.close() if inp == "": break
Thanks for any help you can give me.