How to remove single quote in phyton list

前端 未结 0 494
孤独总比滥情好
孤独总比滥情好 2021-01-24 11:05

I would like to remove the single quotes from a list

Creating loop:

results = []
for k in range(1,number_of_observation+2):
results += [\'X\'+str(k)]

resu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题