[python] Get a list of numbers as input from the user