- nameError name не определено
- NameError: имя '' не определено
- NameError имя 'Views' не определено
Код: Выделить всё
class student:
def address(self):
print('address is mumbai')
def contact(self):
print('email : foo@yahoo.com')
def main(self):
_student=student()
_student.address()
_student.contact()
if __name__ == "__main__":
main()
Подробнее здесь: https://stackoverflow.com/questions/550 ... ndentation
Мобильная версия