字典的update函数
stock_info = {'code': '000001', 'name':'平安银行', 'industry':'银行'} stock_info2 = {'PE': '10' }
stock_info2 = {'PE': '10' }
stock_info.update(stock_info2)
字典的update函数
stock_info = {'code': '000001', 'name':'平安银行', 'industry':'银行'} stock_info2 = {'PE': '10' }
stock_info2 = {'PE': '10' }
stock_info.update(stock_info2)