Add fucntions/string_utils.py

This commit is contained in:
2025-07-14 10:26:29 +02:00
parent a7b6a8f9fb
commit b7741ee339
+7
View File
@@ -0,0 +1,7 @@
def uppercase(s):
if s is None:
raise TypeError("Input cannot be None")
return s.upper()
def reverse(s):
return s[::-1]