Skip to main content

Posts

Showing posts from November, 2022

python

Program 6: Write a Program to enter the string and to check if it’s palindrome or not using loop. x = "malayalam" w = "" for i in x:      w = i + w if (x == w):      print("Yes") else:      print("No")