Question: def clean_message(message: str) -> str: Return a string with only uppercase letters from message with non- alphabetic characters removed. >>> clean_message('Hello world!') 'HELLOWORLD' > >

def clean_message(message: str) -> str: "Return a string with only uppercase letters from message with non- alphabetic characters removed. >>> clean_message('Hello world!') 'HELLOWORLD' > > > clean_message("Python? It's my favourite language.") 'PYTHONITSMYFAVOURITELANGUAGE >>> clean_message('88test') TEST
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
