the second version, plus a helper to strip out apostrophe's

This commit is contained in:
2016-02-26 16:05:10 -05:00
parent ad63f89b0c
commit 55f3f0ee77
2 changed files with 71 additions and 42 deletions
+9
View File
@@ -0,0 +1,9 @@
d=open("words").read().splitlines()
n=0
for r in d:
if not r.endswith("'s"):
n=n+1
else:
print r
print n