ホームページ > に質問 > 本文
代码如下:报错为name 'self' is not defined,请问是什么原因?
name 'self' is not defined
class ListNode(object): def __init__(self, x): self.val = x self.next = None
ringa_lee2017-04-18 09:54:00
完全なコードが投稿されていないのは何か問題があるのでしょうか?