commited all contents created by participants
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/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)
|
||||
|
||||
Reference in New Issue
Block a user