I have a str variable: var_1 = \"hello\" , and I want to convert it to a single element list, I try this:
str
var_1 = \"hello\"
list
>>>
Let me provide you a much easier and authentic way to do it.
s='hello' L=[] L.append(s)
You will get a list with 'hello' as its element. And you can use the list L anyway you like.