Python 3.9.1 iterate lst to pass to tst2

后端 未结 0 427
無奈伤痛
無奈伤痛 2021-02-01 02:43

I want to read all the elements from a list, check the value, change for a number and save in another list2.

lst = [\'a\',\'b\',\'c\'] 
lst2 = []

for x in range(         


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