def bark(self, times=1, other_domestic_mammal=None, is_angry=False):
    message = self.name
    if (other_domestic_mammal is not None):
        message += ((' to ' + other_domestic_mammal.name) + ': ')
    else:
        message += ': '
    if is_angry:
        message += 'Grr '
    message += ('Woof ' * times)
    print(message)
def bark(self, times=1, other_domestic_mammal=None, is_angry=False):
    message = self.name
    if (other_domestic_mammal is not None):
        message += ((' to ' + other_domestic_mammal.name) + ': ')
    else:
        message += ': '
    if is_angry:
        message += 'Grr '
    message += ('Woof ' * times)
    print(message)