← Back to Strings
Question 46
Total Letters In Three Words
Total Letters In Three Words
Three words are read into a list. Add up the number of characters across all three using len() inside a for loop that accumulates into a running total, then print it in the form Total: <n>. Input: three lines, one word each, no prompts. The output is one line.
Expected Output:
Total: 10= newline. The output ends with a newline — print one after the last line.
Hints3 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.