10 lines
119 B
Python
10 lines
119 B
Python
d=open("words").read().splitlines()
|
|
|
|
n=0
|
|
for r in d:
|
|
if not r.endswith("'s"):
|
|
n=n+1
|
|
else:
|
|
print r
|
|
print n
|