Skip to content

Commit 8a334e7

Browse files
authored
Update uppercase.py
1 parent 718961d commit 8a334e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

py_app/uppercase.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
def to_uppercase(text: str) -> str:
22
return text.upper()
33

4+
def to_uppercase2(text: str) -> str:
5+
return text.lower()
6+
lenght = len(text)
7+
48
if __name__ == "__main__":
59
import sys
610
if len(sys.argv) > 1:
711
print(to_uppercase(sys.argv[1]))
812
else:
9-
print("USAGE: uppercase.py <string_to_convert>")
13+
print("USAGE: uppercase.py <string_to_convert>")

0 commit comments

Comments
 (0)