These commands:
l = [\"1\\n2\"] print(l)
print
[\'1\\n2\']
I want to print
[\'1 2\']
Try this:
s = ["1\n2"] print("['{}']".format(s[0])) => ['1 2']