Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Palindrome using recursion
#python 3.5.2 def palindrome(s): if len(s) == 0: return 'YES' else: if(s[0] != s[-1]): return 'NO' return palindrome(s[1:-1]) s = 'MALAYALAM' print('Is ',s,' a palindrome : ',palindrome(s))
run
|
edit
|
history
|
help
0
mat
Keygen for 010 Editor
me
Random number
Chtkav
arjun chinese class
quck sort
Lesson 9
(P2) Ciągi 2 - mapowanie
Game2