We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e26007 commit 2345feeCopy full SHA for 2345fee
simple_utils.py
@@ -0,0 +1,11 @@
1
+# simple_utils.py - A tiny utility library
2
+
3
+def reverse_string(text):
4
+ """Reverses the characters in a string."""
5
+ return text[::-1]
6
7
+def count_words(sentence):
8
+ return len(sentence.split())
9
10
+def celsius_to_fahrenheit(celsius):
11
+ return (celsius * 9/5) + 32
0 commit comments