Skip to content
Advertisement

Updating values inside a python list

JavaScript

I want to update the price by using the function update_item. It fails at update_price = append(a[‘price’].data_2)

Advertisement

Answer

You can assign the value to the dictionary, with:

JavaScript
Advertisement