diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-05-04 23:12:34 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-05-04 23:12:34 +0000 |
commit | 184c77a8a6eaa402b457efbca8b06434cac50e13 (patch) | |
tree | 76b5206d83aead265a6af4e1139a47e4af2eec3e /wk6/pset | |
parent | 79f6a15541fba8aa07f0e073cbc92cb6aa062f79 (diff) |
Sat, May 4, 2024, 4:12 PM -07:00
Diffstat (limited to 'wk6/pset')
-rw-r--r-- | wk6/pset/sentimental-readability/readability.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wk6/pset/sentimental-readability/readability.py b/wk6/pset/sentimental-readability/readability.py index 43edb75..c8f4e55 100644 --- a/wk6/pset/sentimental-readability/readability.py +++ b/wk6/pset/sentimental-readability/readability.py @@ -9,4 +9,6 @@ c = '' for i in range(len(text)): c = text[i] -
\ No newline at end of file + j = ord(c) + if c == '.' or c == '!' or c == '?': + s |