generate functionTue, 16 May 2023

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

def es_capicua(n): if n < 100 or n > 999: return False if n // 100 == n % 10: return True return False

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