• Whats the error

Question related to mission Secret Message

 

def find_message(text: str) -> str: """Find a secret message""" x = "" for ch in text: if ch.isupper(): x = x + ch return x

    else:
            return x