Why can't I do math with my dictionary values in python?

前端 未结 0 1099
刺人心
刺人心 2020-12-20 21:24

I\'m trying to average out the bid + ask for yfinance. So far I\'ve got this: price = ({info[\'bid\']} + {info[\'ask\']}) / 2

but that returns an error s

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