• Code does't work properly

 

I would like to give some feedback about ... Why assertion doesn't work here but work at my pycharm?

def isacceptablepassword(txt): if len(txt)>5: return any(el.isdigit() for el in txt) else: return False

From: https://py.checkio.org/mission/acceptable-password-ii/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36