Skip to content

16_class_and_objects.py Exercise!! missing emp.id is an AttributeError not a NameError!! any suggestions? #140

@shaakir7

Description

@shaakir7

try:
print(emp.id)
except AttributeError: !!!!!!!!!
print("emp.id is not defined")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions