demo_python_class_8.py:
[email protected]:/home/python#python demo_python_class_8.py
Traceback (most recent call last):
  File "demo_class8.py", line 13, in <module>
    print(p1)
NameError: 'p1' is not defined