From 4cde4655b99a538b671e01d8cbfbf861f0acbc35 Mon Sep 17 00:00:00 2001 From: npthl2 Date: Tue, 24 Jun 2025 17:50:05 +0900 Subject: [PATCH] rabbit test --- simple_utils.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 simple_utils.py diff --git a/simple_utils.py b/simple_utils.py new file mode 100644 index 0000000..614c847 --- /dev/null +++ b/simple_utils.py @@ -0,0 +1,13 @@ +# simple_utils.py - A tiny utility library + +def reverse_string(text): + """Reverses the characters in a string.""" + return text[::-1] + +def count_words(sentence): + return len(sentence.split()) + +def celsius_to_fahrenheit(celsius): + return (celsius * 9/5) + 32 + +