标签: python
在这个简单的练习程序中,我觉得我已经遵循了构造对象的准则,但是始终收到错误消息NameError: name 'Test' is undefined
NameError: name 'Test' is undefined
class Test: def __init__(self): self.name= "tony" x= Test()