Light Mode
Dark Mode
What's wrong

I tried the lines below and failed. Are there anything wrong with the lines? Thanks.

======================================

def find_message(text: str) -> str:

cap=''
for x in text:
    if x.isupper==True:
        cap+=x
        return cap
    else:
        continue    
return cap
if cap=='':
    print('Nothing')
else:
    print(cap)
Created: June 19, 2019, 6:12 a.m.
Updated: July 10, 2019, 11:06 a.m.
0
4
User avatar
Panda9527