# PRESS ENTER WITHOUT WRITING TO STOP inputs = [] while True: inp = input("Insert input: ") if inp == "": break inputs.append(inp) print (inputs)