how to input a arrayfrom user in python code example
Example: taking array input in python
x=[int(input()) for i in range(int(input("How many elements are in list : ")))] print(x)
x=[int(input()) for i in range(int(input("How many elements are in list : ")))] print(x)