code: def format_hex(text: str) -> str:
      """
      Formats a hexadecimal string like "0x12B3"
      """
      before, after = text[:2], text[2:]
      return f"{before}{after.upper()}"
  
imports: from blib2to3.pytree import Leaf
label_desc: Use image node_id 1 for calling a global function with example usage: format_hex(text) and returns: before, after