407,415 views
18 votes
18 votes
How to generate a list of numbers with infinite input python

User Wonderchook
by
2.8k points

1 Answer

15 votes
15 votes

Answer:

infList = []

while True:

infinite = int(input("Enter number: "))

infList.append(infinite)

Step-by-step explanation:

User Sollniss
by
2.6k points