Skip to main content

Hi, I'm Mariano Guerra, below is my blog, if you want to learn more about me and what I do check a summary here: marianoguerra.github.io or find me on twitter @warianoguerra or Mastodon @marianoguerra@hachyderm.io

soy medio idiota

no hace falta ni resaltarle la sintaxis


is_palindrome(Number) ->
String = integer_to_list(Number),
String == lists:reverse(String).

(defun is-palindrome (num)
(setf str (format nil "~a" num))
(equal str (reverse str)))

def is_palindromic(number):
'''return True if the number is a palindrome'''
number = str(number)
return number == number[::-1]


ganas de complicarse...