Run
import json a_list = [41, 58, 63] json_string = json.dumps(a_list) print(json_string)
Output