OPN

Apurva Singh

OPN = input("Please enter a number:")


# slicing and pallindrome example

if OPN == OPN[::-1]:

    print("This is a palindrome ")


else:

    print("this is not a palindrome")



for QWE in set(OPN):

    print(QWE, "occurs", OPN.count(QWE)," times")

Post a Comment

0Comments
Post a Comment (0)

#buttons=(I Understand) #days=(1)

Our website uses cookies to enhance your experience. Google Translate and other Google services on this are governed by Google's Privacy Policy. Some of the posts might have been fetched from Syndication Networks
Accept !