diff --git a/utils/string_utils.py b/utils/string_utils.py new file mode 100644 index 0000000..253d707 --- /dev/null +++ b/utils/string_utils.py @@ -0,0 +1,10 @@ +def capitalize_first_letter(s): + """Capitalizes the first letter of a string.""" + if not s: + return s + return s[0].upper() + s[1:] + + +def reverse_string(s): + """Reverses the given string.""" + return s[::-1] \ No newline at end of file