format code
This commit is contained in:
1 parent
9191242a93
commit
1be9a73dbd
3 files changed
+16
-18
No files matched your search
+2
-3
@@ -1,6 +1,5 @@
|
||||
def format_quote(text:str)->str:
|
||||
def format_quote(text: str) -> str:
|
||||
text = text.strip()
|
||||
if not text.endswith((".","?","!")):
|
||||
if not text.endswith((".", "?", "!")):
|
||||
text += "."
|
||||
return text.upper()
|
||||
|
||||
Reference in new issue
Block a user