Your question is Palindrome and String Reversal. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Given a string s, determine whether it is a palindrome and also return the reverse of the string. A palindrome reads the same forward and backward.
Implement a function that returns a tuple (is_palindrome, reversed_string) where is_palindrome is a boolean and reversed_string is the characters of s in reverse order.
s(bool, str)
True if s is a palindrome, otherwise Falsedef check_palindrome_and_reverse(s):