File tree
Expand file treeCollapse file tree1 file changed
+11
-0
lines changed Expand file treeCollapse file tree1 file changed
+11
-0
lines changed Original file line number | Diff line number | Diff line change |
---|
|
| 1 | +#lex_auth_012693819159732224162 |
| 2 | + |
| 3 | +def check_palindrome(word): |
| 4 | +#Remove pass and write your logic here |
| 5 | +return word == word[::-1] |
| 6 | + |
| 7 | +status=check_palindrome("malayalam") |
| 8 | +if(status): |
| 9 | +print("word is palindrome") |
| 10 | +else: |
| 11 | +print("word is not palindrome") |
You can’t perform that action at this time.
0 commit comments