getting list of number as input 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)