I'm new to python. I tried to store bunch of strings to an array and at the end print out the array, however it print out as a long list of characters. here is my code:
user_with_no_records = [""]
for user_test_docs in json_data['results']:
... do something here ...
user_with_no_records.extend(user_test_docs['userId'].replace("'", '"'))
...
pprint(user_with_no_records)
instead of print out :
"1234-4a20-47c0-b23c-a35a", "53dd-4120-4249-b4f6-ebe2"
it print out
"1","2","3","4","-","a","2","0"....