Skip to main content
added 72 characters in body
Source Link
Seims
  • 669
  • 7
  • 19

Ruby, 3939 36 bytes

t=Time.new.year;t.downto(t-120).to_a

Old:

t=Time.new.year;(t-120..t).to_a.reverse

Should be obvious.

Ruby, 39 bytes

t=Time.new.year;(t-120..t).to_a.reverse

Should be obvious.

Ruby, 39 36 bytes

t=Time.new.year;t.downto(t-120).to_a

Old:

t=Time.new.year;(t-120..t).to_a.reverse

Should be obvious.

Post Undeleted by Seims
Post Deleted by Seims
Source Link
Seims
  • 669
  • 7
  • 19

Ruby, 39 bytes

t=Time.new.year;(t-120..t).to_a.reverse

Should be obvious.