15 lines
353 B
Python
Executable File
15 lines
353 B
Python
Executable File
#!/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)
|
|
|