array elements separated by comma as a string python code example
Example: how to input comma separated int values in python
lst = list(map(int, input("Enter comma separated values: ").split(",")))
lst = list(map(int, input("Enter comma separated values: ").split(",")))