All problems
EasyStrings
Palindrome check
Return True if a string reads the same forwards and backwards (case-insensitive).
- #strings
- #slicing
Sample input
"Malayalam"
Sample output
True
palindrome.py
Output
Press "Run code" to execute.
Loading…
Return True if a string reads the same forwards and backwards (case-insensitive).
"Malayalam"
True
Press "Run code" to execute.