Skip to content

Instantly share code, notes, and snippets.

from difflib import SequenceMatcher
from itertools import combinations
from math import sqrt, ceil
from random import choice
inp = """MID
RANA
GRANT
BOCCA
CILIA