Skip to content

Question on Code Challenge 3-6 #10

@robgarrett

Description

@robgarrett

Rather than the complicated exponent solution, after checking for non-hex characters, why not just return int(hexNum, 16)?
In my solution, this worked for 1, 2, and 3 character lengths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions