Return a variable in a Python list with double quotes instead of single

后端 未结 2 669
小蘑菇
小蘑菇 2021-02-07 00:00

I am trying to return a variable from a list of strings in double quotes rather than single.

For example, if my list is

List = [\"A\", \"B\"]
         


        
2条回答
提交回复
热议问题