pyt5~20171217-115457.py 352 B

1234567891011121314
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. # this programme compare a text in french and its translation in englishe and liste the common words .
  4. with open("JVFR.txt", "r") as textFr:
  5. for line in textFr:
  6. line=line.strip()
  7. words=line.split()
  8. for word in words :
  9. print(word)
  10. close("JVFR")
  11. #nbs=len(words)
  12. #print (nbs)