generate functionTue, 16 May 2023

ingresar un numero de tres crifras  y hallar si es capicua o no

def is_capicua(n): if str(n) == str(n)[::-1]: return True else: return False is_capicua(123)

Want to kickstart your project?Use the new AI Studio to create your code