• Newbie asking

Question related to mission House Password


I think this is a syntax error, but I am totally lost on using regular expression. Please help me find out where I made the mistake. The following is my code:

import re

def checkio(data: str) -> bool:

if re.match("[0-9]",data) and re.match("[a-z]",data) and re.match("[A-Z]",data):

    if len(data)>9:
        return True
return False