Write a Python program to convert a list of numbers into a string.
[2, 3, 10]
def list_to_str(lst):
    result = ",".join(map(str, lst))
    return result

result = list_to_str([2, 3, 10])
print(result)