ShriRam Changed status to publish August 18, 2023
import ast
color = “[‘Red’, ‘Green’, ‘White’]”
print(type(color))
print(ast.literal_eval(color))
print(type(ast.literal_eval(color)))
ShriRam Changed status to publish August 18, 2023
import ast
color = “[‘Red’, ‘Green’, ‘White’]”
print(type(color))
print(ast.literal_eval(color))
print(type(ast.literal_eval(color)))