code: def format_phone_number(number):
      
      if not isinstance(number, phonenumbers.PhoneNumber):
          number = phonenumbers.parse(number)
      return phonenumbers.format_number(number, phonenumbers.PhoneNumberFormat.INTERNATIONAL)
docs: Formats a phone number in international notation.
      :param number: str or phonenumber object
      :return: str