Spaces:
Runtime error
Runtime error
| def string_to_list_int(string): | |
| li = list(string.split(",")) | |
| res = [int(i) for i in li] | |
| return res | |
| def string_to_list_float(string): | |
| li = list(string.split(",")) | |
| res = [float(i) for i in li] | |
| return res |