Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dopplers = []
- for w in words:
- for pos in range(len(w)):
- tw = w[:pos] + w[pos] + w[pos:]
- if tw in wordlist:
- dopplers.append((w,tw))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement