Return only value from dictionary

后端 未结 0 1972
伪装坚强ぢ
伪装坚强ぢ 2021-02-08 12:28
def open_price():
    return stock_data[1].values()

This function returns a dictionary with the value of:

dict_values([\'137.35\'])


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