StockPriceFile = ['[36800.]', '36816.666666666664', '36816.666666666664', '36833.333333333336', '36866.666666666664']

for value in StockPriceFile:
    stock_price = float(value.strip('[]'))
    print(stock_price)