Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frase = input('Ingrese una frase:')
- temp = frase.replace(' ','')
- if temp == temp[::-1]:
- print('La frase es palindromo')
- else:
- print('No es palindromo')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement