fork download
  1. StockPriceFile = ['[36800.]', '36816.666666666664', '36816.666666666664', '36833.333333333336', '36866.666666666664']
  2.  
  3. for value in StockPriceFile:
  4. stock_price = float(value.strip('[]'))
  5. print(stock_price)
Success #stdin #stdout 0.02s 9160KB
stdin
Standard input is empty
stdout
36800.0
36816.666666666664
36816.666666666664
36833.333333333336
36866.666666666664