Light Mode
Dark Mode
What's wrong?
def find_message(text)///
    result = []///
    for x in text:///
        if x.isupper() :
            result.append(x)///
    result="".join(result)///
    if len(result)>1 :
        print(result)///
    else : print("None")

Checking of all the statements asserted and give the correct result.

In grader I get this message:

"Your result:None Right result:"HELLO" Fail:find_message("How are you? Eh, ok. Low or Lower? Ohhh.")"

But if I Run the func I will get "HELLO"

Created: May 31, 2019, 11:55 a.m.
Updated: May 31, 2019, 4:06 p.m.
0
8
User avatar
CALLIA17