代码如下:报错为name 'self' is not defined,请问是什么原因?
name 'self' is not defined
class ListNode(object): def __init__(self, x): self.val = x self.next = None
闭关修行中......
代码没贴全还是咋的?
代码没贴全还是咋的?