How to sum of values in dict? Python, Flask

前端 未结 0 1375
野的像风
野的像风 2021-01-30 21:49

I have simple shopping cart created via session in Flask:

session[\'cart\'] += [{
    \'product_name\': request.form[\'product_name\'],
    \'product_cost\': requ         


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