How to convert percentage to decimal when it is in list

后端 未结 0 1798
慢半拍i
慢半拍i 2021-02-04 20:37
rstocks = [\'5.57%\',\'3.95%\',\'5.26%\',\'5.49%\',\'-1,80%\']

stocks =[]
for i in rstocks:
     stock = rstocks[i]//100
     stocks.append(stock)

It k

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