String are said to be calindrome if
-It is palindrome
-and length of string is multiple of 6.
Example-
"abccba" is calindrome string.
"xyzyx" is not calindrome string.
program-
#take string input
print("Enter string")
s1=input()
#reverse string and store in other string
s2=s1[::-1]
#check for calindrome
if s2==s1 and len(s1)%6==0:
print("String is calindrome")
else:
print("String is not calindrome")
Enter string
xyzzyx
String is calindrome
Enter string
abcba
String is not calindrome