summaryrefslogtreecommitdiff
path: root/wk6/pset/sentimental-readability/readability.py
blob: 43edb75d7490ae155a88d9b50e90bea284686af7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from cs50 import get_string

text = get_string("Text: ")

s = 0.0 # sentences
w = 1.0 # words
l = 0.0 # letters
c = ''

for i in range(len(text)):
    c = text[i]