Skip to content

Instantly share code, notes, and snippets.

@giruzou
Created July 10, 2018 01:56
Show Gist options
  • Save giruzou/4a4f9d907394957e2b1c0b6c895354b2 to your computer and use it in GitHub Desktop.
Save giruzou/4a4f9d907394957e2b1c0b6c895354b2 to your computer and use it in GitHub Desktop.
puts gets.split.map(&:to_i).sum.to_s.slice(-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment