the-honk/school/gcse/year 9/python challenges/11 - Character Counter.py
2021-12-21 19:46:28 +00:00

7 lines
No EOL
126 B
Python

sentence = input('Please input a sentence.')
charCount = 0
for i in sentence:
charCount = charCount + 1
print(charCount)