When I try to define this function on python (Wing101 IDE Mac OS) it says that there is a syntax error from the first ":" to the end of bool: I'm just trying to specify the return type after the arrow. I don't understand what's wrong, can someone help?
def destroymatrix(text: str) -> bool: