Run
import json # Given list x = ['apple', 'banana', 'cherry'] # Convert list to JSON string x_double_quotes = json.dumps(x) # Print the list with double quotes print(x_double_quotes)
Output