Skip to content

Instantly share code, notes, and snippets.

View alvaroalvarez's full-sized avatar

Alvaro Alvarez alvaroalvarez

  • Barranquilla, Colombia
View GitHub Profile
puts "Insert to Palindromo"
string=gets.chomp.downcase.delete(" ")
if((string)==string.reverse)
puts "#{string} es un palindromo"
else
puts "#{string} no un es palindromo"
end