how to store user input into an array in python code example
Example: pythin taking input for array
x = list(map(int, input("Enter the values with spaces between them: ").split()))
# you can put the data type that you want in the "int" place
x = list(map(int, input("Enter the values with spaces between them: ").split()))
# you can put the data type that you want in the "int" place