Loading exercise...

Exercise: Format an Integer as a String

Avatar image for alexanderwu

alexanderwu on April 11, 2026

For the challenge question, you ask for “hexadecimal.” Since all the other ones are completely spelled out, why have format_type = ‘hex’ instead of ‘hexadecimal’? That is inconsistent.

Avatar image for Bartosz Zaczyński

Bartosz Zaczyński RP Team on April 19, 2026

@Alexander, good catch! You were right that this was inconsistent. I’ve updated the exercise so the bonus challenge now expects format_type == "hexadecimal", matching the spelled-out style of "decimal", "binary", and "octal". Thanks for the nudge 🙂

Become a Member to join the conversation.