Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Secret Message by rogos
def find_message(text):
result = ""
for i in range(len(text)):
if text[i].isupper():
result = result + text[i]
return result
if __name__ == '__main__':
assert find_message("How are you? Eh, ok. Low or Lower? Ohhh.") == "HELLO", "hello"
assert find_message("hello world!") == "", "Nothing"
assert find_message("HELLO WORLD!!!") == "HELLOWORLD", "Capitals"
Jan. 20, 2017