From fed4285a51b874113c41d9a9e78810640d71e5dc Mon Sep 17 00:00:00 2001 From: thing1 Date: Wed, 12 Mar 2025 11:30:18 +0000 Subject: to much work --- comp/work/47/ispal.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 comp/work/47/ispal.py (limited to 'comp/work/47/ispal.py') diff --git a/comp/work/47/ispal.py b/comp/work/47/ispal.py new file mode 100644 index 0000000..92111a4 --- /dev/null +++ b/comp/work/47/ispal.py @@ -0,0 +1,5 @@ +def ispal(word): + if word[::-1] == word: return True; + else: return False + +print(ispal("racecar")) -- cgit v1.2.3