Skip to content

Instantly share code, notes, and snippets.

View jyucis's full-sized avatar

Jeff Yucis jyucis

  • Syatt
  • Friendzone
View GitHub Profile
def compute
range = (37..307).to_a + (703..799).to_a
count = 0
range.each do |int|
ints = int.to_s.split('')
next unless ints.include?("7")
sum = ints.map(&:to_i).sum

Keybase proof

I hereby claim:

  • I am jyucis on github.
  • I am jyucis (https://keybase.io/jyucis) on keybase.
  • I have a public key ASBDYMtkkp850IdC1Lm8WfA9JLCR37FLYWnJQPVWNPGm1Ao

To claim this, I am signing this object: