Hannah House

Digital Humanities Master's Student at the GC

entry = (input("Hello, please tell me something in all uppercase letters. "))
print ("Thank you.")
print ("\n")

backwards = "".join(reversed(entry))

if entry == backwards: print ("Hello,", entry, "is a palindrome.")
else: print ("Hello,", entry, "is not a palindrome.")

Profile picture of Hannah House
active 10 hours, 37 minutes ago
Need help with the Commons? Visit our
help page
Send us a message
Skip to toolbar