字典如下{"firstname":"dave","lastname":"mckenney","position":"instructor"}列表如下 mylist = [ [“firstname”, “dave”], [“lastname”, “mckenney”], [“position”, “instructor”] ]我现在想设计一个函数有这样的功能:getvalue(mylist, “firstname”) → “dave”
慕沐林林
繁花不似锦
相关分类