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