You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
print(emp.id)
except AttributeError: !!!!!!!!!
print("emp.id is not defined")
The text was updated successfully, but these errors were encountered:
shaakir7
changed the title
missing emp.id is an AttributeError not a NameError!! any suggestions?
16_class_and_objects.py Exercise!! missing emp.id is an AttributeError not a NameError!! any suggestions?
Jan 4, 2022
try:
print(emp.id)
except AttributeError: !!!!!!!!!
print("emp.id is not defined")
The text was updated successfully, but these errors were encountered: