You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Method using flag: In this method, the user compares each character from starting and ending in a for loop and if the character
#does not match then it will change the status of the flag. Then it will check the status of the flag and accordingly and print whether it is a palindrome or not.