From 31dd15de6e02734d9406f25e658530d5c40d1b6b Mon Sep 17 00:00:00 2001 From: xylonhu Date: Thu, 22 May 2025 17:02:44 +0800 Subject: [PATCH] CodeRabbit test --- simple_utils.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 simple_utils.py diff --git a/simple_utils.py b/simple_utils.py new file mode 100644 index 0000000..3526e94 --- /dev/null +++ b/simple_utils.py @@ -0,0 +1,11 @@ +# 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