Example take infinite input in Python
Simple example code takes any type of user enter value.
inputs =  while True: inp = input("Type Anything/ Press Enter: ") if inp == "": break inputs.append(inp) print(inputs)
Do comment if you have any doubts or suggestions on this Python input program.
Note: IDE: PyCharm 2021.3 (Community Edition)
All Python Examples are in Python 3, so Maybe its different from python 2 or upgraded versions.
Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology & like learning technical.