0
Palindrome program using python
4 Respostas
+ 8
print(input()[::-1])
+ 8
Sure, why would I give away all the logic right away... ;)
- 1
## one liner
print(*[a+" is palindrome" for a in [input()] if a== a[::-1]])
@@ kuba u gave code for reverse
- 1
☺☺
ohhoo
thats nice of u...
✌ ✌
appologies
and try my new challenge and get refreshed...
https://www.sololearn.com/discuss/817002/?ref=app