SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #recebe uma string e responde se é um palíndromo ou não
- pal = input("Digite uma palavra: ")
- if pal.upper() == pal[::-1].upper():
- print("{} é um palíndromo!".format(pal))
- else:
- print("{} não é um palíndromo!".format(pal))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.