Join a list of strings in python and wrap each string in quotation marks

前端 未结 5 972
时光说笑
时光说笑 2020-12-04 11:54

I\'ve got:

words = [\'hello\', \'world\', \'you\', \'look\', \'nice\']

I want to have:

\'\"hello\", \"world\", \"you\", \"l         


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