← Back to Strings
Question 16
How Long Is The Word
How Long Is The Word
Read one word and print its number of characters in the form Length: <n> using len() inside an f-string. Input: one line, the word, no prompt. The output is that single line.
Expected Output:
Length: 6= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Strings
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.