diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2025-03-12 11:30:18 +0000 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2025-03-12 11:30:18 +0000 |
commit | fed4285a51b874113c41d9a9e78810640d71e5dc (patch) | |
tree | 1ad99a238c1d3b59be90a6a9728bb81930ab1c16 /comp/work/47/ispal.py | |
parent | 2ac42fa825d403e6285a58e08a62e6d549c86fa1 (diff) |
to much work
Diffstat (limited to 'comp/work/47/ispal.py')
-rw-r--r-- | comp/work/47/ispal.py | 5 |
1 files changed, 5 insertions, 0 deletions
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")) |