7 lines
126 B
Python
7 lines
126 B
Python
|
sentence = input('Please input a sentence.')
|
||
|
charCount = 0
|
||
|
|
||
|
for i in sentence:
|
||
|
charCount = charCount + 1
|
||
|
|
||
|
print(charCount)
|