-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
If a student writes:
def print_friend_info(person):
print(person._name)
print(person._age)
if self._friend is not None:
print('Friends with', person._friend._name)
then there is an error "You need to print the person's name in print_friend_info"
The error should really be about not using the getters such as person.get_name()