“TypeError: string indices must be integers” how to test the code

前端 未结 0 527
抹茶落季
抹茶落季 2021-02-05 15:40
def main(test):
import math
filter_key = [\'x\', \'y\', \'z\']
rs = []
for e in test:
    data = {key: e[\'data\'][key] for key in filter_key}
    data[\'A\'] = math.sqr         


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