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