generate functionTue, 16 May 2023

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

def capicua(n): for i in range(int(len(n)/2)): if(n[i] != n[len(n)-i-1]): return False return True capicua("123")

Questions about programming?Chat with your personal AI assistant