def log(self):
    print('some library function requires all objects to have a log method')
print("unfortunately we're using the Student class, which doesn't have one")
print("this class is defined in a separate library, so we can't add the method")
python variable scope