class name:
def create(self):
person=input("Enter your name")
print('hello {}'.format(person))
在运行过程中出现以下错误!错误是什么?
o=name()
o.create()
Enter your nameshubham
Traceback (most recent call last):
File "<pyshell#53>", line 1, in <module>
o.create()
File "<pyshell#51>", line 3, in create
person=input("Enter your name")
File "<string>", line 1, in <module>
NameError: name 'shubham' is not defined