how to take unknown number of inputs in python code example
Example: how to take unknown number of inputs in python
# PRESS ENTER WITHOUT WRITING TO STOP
inputs = []
while True:
inp = input("Insert input: ")
if inp == "":
break
inputs.append(inp)
print (inputs)