python comma separate value 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(",")))