# -*- coding: utf-8 -*-
"""
Created on Fri Jan 25 13:10:24 2019

@author: <NAME>
Practica 008 Palindromo 
"""


def palindromo() :
    cadena_sin_espacios = frase.replace(' ','') #variables locales   
    return cadena_sin_espacios == cadena_sin_espacios[::-1]

frase = 'anita lava la tina' #variables globales
resultado = palindromo()
print(resultado)


# -*- coding: utf-8 -*-
"""
Created on Fri Jan 25 13:10:24 2019

@author: <NAME>
Practica 008 Palindromo 
"""


def palindromo() :
    cadena_sin_espacios = frase.replace(' ','') #variables locales   
    return cadena_sin_espacios == cadena_sin_espacios[::-1]

frase = 'anita lava la tina' #variables globales
resultado = palindromo()
print(resultado)


# -*- coding: utf-8 -*- Created on Fri Jan 25 13:10:24 2019  @author: <NAME> Practica 008 Palindromo #variables locales #variables globales