generate functionTue, 16 May 2023

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

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

Questions about programming?Chat with your personal AI assistant