Challenge: Convert Digits from 0 to 5 into Text

Test your knowledge by solving a challenge in this lesson.

Problem statement

Your task is to write a function digit_text. In the function parameter, you will pass the value of type int, and it will return a string in the output.

Get hands-on with 1200+ tech skills courses.