is_palindrome(s) that returns True if s reads the same forwards and backwards, comparing it directly against its reversed slice. Treat the comparison as case-sensitive and do not strip any characters.s = 'level'
True
'level' reversed is still 'level'.
s = 'Level'
False
Case-sensitive: 'Level' reversed is 'leveL', which differs.
Compare `s` to `s[::-1]`.
An empty string is trivially a palindrome.