array input inpython code example
Example: taking array input in python
x=[] for i in range(int(input("How many elements are in list : "))): x.append(int(input())) print(x)
x=[] for i in range(int(input("How many elements are in list : "))): x.append(int(input())) print(x)