code: def print_bytes(byte_str):
      
      if isinstance(byte_str, str):
          print(byte_str)
      else:
          print(str(byte_str, encoding='utf8'))
docs: Prints a string or converts bytes to a string and then prints.