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 at: 2019/06/19 06:12; Updated at: 2019/07/10 11:06