How to get a value from specific key

后端 未结 0 341
有刺的猬
有刺的猬 2021-01-04 06:57

I defined a class like that:

class NodeData :
    key = 0
    neighbors = {}
    location = ()

    def __init__(self, k, l):
        self.key = k
        sel         


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