py
py copied to clipboard
16_class_and_objects.py Exercise!! missing emp.id is an AttributeError not a NameError!! any suggestions?
try: print(emp.id) except AttributeError: !!!!!!!!! print("emp.id is not defined")