• What is failing?

Question related to mission Acceptable Password VI

 
import re
def is_acceptable_password(password: str) -> bool:
    if (len(password) <= 6 or re.search('(?i)password', password)):
        return False 
    elif (len(password) in range(6,10) and password.isdigit() and password.isalpha()):
        return True
    elif len(password) > 9: 
        return True
    elif (len(password) > 10 and len(set(list(password))) >= 3):
        return True
    else:
         return False