non_s.py 119 B

123456789
  1. d=open("words").read().splitlines()
  2. n=0
  3. for r in d:
  4. if not r.endswith("'s"):
  5. n=n+1
  6. else:
  7. print r
  8. print n