index
:
project_euler.git
master
My solutions to the project euler problems
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
python
/
helper
/
palindrome.py
blob: 3c498ad14880a2e5566fb311002a23e5e0cf8d46 (
plain
)
1
2
def
is_palindrome
(
num
):
return
str
(
num
) ==
str
(
num
)[::-
1
]