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 at: 2019/05/31 11:55; Updated at: 2019/05/31 16:06