Is it possible to input 2 numbers int or float separated by a comma in a single line?
int
float
Say after the program runs it would ask the user to <
It's my understanding that ast.literal_eval is safe:
>>> x, y = ast.literal_eval(raw_input('Enter a range: ')) Enter a range: 5, 6 >>> x, y (5, 6)