summaryrefslogtreecommitdiff
path: root/wk6/pset
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-04 23:12:34 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-04 23:12:34 +0000
commit184c77a8a6eaa402b457efbca8b06434cac50e13 (patch)
tree76b5206d83aead265a6af4e1139a47e4af2eec3e /wk6/pset
parent79f6a15541fba8aa07f0e073cbc92cb6aa062f79 (diff)
Sat, May 4, 2024, 4:12 PM -07:00
Diffstat (limited to 'wk6/pset')
-rw-r--r--wk6/pset/sentimental-readability/readability.py4
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