how to take user input array 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)