""" Crypto WODL Guess the crypto WODL in 6 tries. """ import argparse FILES = ['1173652193564069797.txt', '6907048048270523401.txt', '7603521794355887959.txt'] CHARACTERS = ['.', ',', '"', '’', '“', '”', '(', ')', '-'] def guess_wodl(): for file in FILES: f = open(file, 'r', encoding='utf-8') for x in f: x = x.strip().split() if len(x): for i in x: if len(i) == 7: i = i.lower() if 'e' in i and 'r' in i: print(i) if __name__ == '__main__': guess_wodl()