Change e letters to i in words: Difference between revisions
m
→{{header|Python}}
m (→{{header|Python}}: Simplified an expression.) |
|||
Line 1,143:
in unixdict.txt
'''
for pair in ieTwins(
):
print(pair)
Line 1,155 ⟶ 1,153:
# readFile :: FilePath -> IO String
def readFile(fp):
'''The contents of any file at the path fp.
'''
with open(fp, 'r', encoding='utf-8') as f:
|