def get_codepoint(emoji: str) -> str:
    """
    Returns the codepoint, in a trimmed format, of a single emoji.

    `emoji` should be an emoji character, such as "🐍" and "🥰", and
    not a codepoint like "1f1f8". When working with combined emojis,
    such as "🇸🇪" and "👨‍👩‍👦", send the component emojis through the method
    one at a time.
    """
    return hex(ord(emoji))[2:]