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

text = get_string("Text: ")

s = 0.0 # track how many sentences there are
w = 1.0 # track how many words there are
l = 0.0 # letters
i = 0
c = ''