Check Palindrome easy
strings

Write a function solution(s) that returns True if s is a palindrome (reads the same forwards and backwards), and False otherwise. Ignore case.

Example

solution("racecar") → True
solution("hello")   → False
solution("Madam")   → True
solution.py
💡 Tip: Press Ctrl+Enter to run