• Bug in Acceptable Password II

 

In this mission, I tried to solve isacceptablepassword("muchlonger5"). My code returned True in other editor. But somehow when i checked my code, the result returned to False.

PS Here is my answer and it runs well in other editor. It just not work when I check the answer

def isacceptablepassword(password: str) -> bool: if len(password)>=6: for i in password: if i.isdigit(): return True else:return False else:return False