def METHOD_NAME(names):
    """Returns a name to be used for a new snippet..
    names is a list of strings for which the newly returned name will be unique.
    """
    while True:
        u = f"n{random.random()*1000000:06.0f}"
        if u not in names:
            break
    return u