Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
neopilot
/
PyRs2
like
0
Follow
NeoPilot AI
1
Modalities:
Text
Formats:
text
Size:
< 1K
Libraries:
Datasets
Croissant
License:
gpl-3.0
Dataset card
Data Studio
Files
Files and versions
xet
Community
1
main
PyRs2
/
python
/
palindrome.py
khulnasoft
Upload folder using huggingface_hub
998b6cc
verified
27 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
108 Bytes
def
is_palindrome
(
s
):
return
s == s[::-
1
]
print
(is_palindrome(
"racecar"
))
print
(is_palindrome(
"hello"
))