6 lines
146 B
Python
6 lines
146 B
Python
def format_quote(text:str)->str:
|
|
text = text.strip()
|
|
if not text.endswith((".","?","!")):
|
|
text += "."
|
|
return text.upper()
|
|
|