deleted 7 characters in body
Source Link
britishtea
  • 1.2k
  • 6
  • 14

Ruby, 152145

?K.upto(?c){puts"#{a="Theputs"The "}eigh#{x="teen-hundreds we#{t="re a time "}for "}rum.
#{a}The nine#{x}fun.
#{a}The two-thousands a#{t}to run
a civilized classroom."}

Explanation

  • Use String#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.

Ruby, 152

?K.upto(?c){puts"#{a="The "}eigh#{x="teen-hundreds we#{t="re a time "}for "}rum.
#{a}nine#{x}fun.
#{a}two-thousands a#{t}to run
a civilized classroom."}

Explanation

  • Use String#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.

Ruby, 145

?K.upto(?c){puts"The eigh#{x="teen-hundreds we#{t="re a time "}for "}rum.
The nine#{x}fun.
The two-thousands a#{t}to run
a civilized classroom."}

Explanation

  • Use String#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.
deleted 1 character in body
Source Link
britishtea
  • 1.2k
  • 6
  • 14

Ruby, 153152

?K.upto(?c){puts"#{a="The "}eight#eigh#{x="teen-hundreds we#{t="re a time "}for "}rum.
#{a}nine#{x}fun.
#{a}two-thousands a#{t}to run
a civilized classroom."}

Explanation

  • Use String#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.

Ruby, 153

?K.upto(?c){puts"#{a="The "}eight#{x="teen-hundreds we#{t="re a time "}for "}rum.
#{a}nine#{x}fun.
#{a}two-thousands a#{t}to run
a civilized classroom."}

Explanation

  • Use String#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.

Ruby, 152

?K.upto(?c){puts"#{a="The "}eigh#{x="teen-hundreds we#{t="re a time "}for "}rum.
#{a}nine#{x}fun.
#{a}two-thousands a#{t}to run
a civilized classroom."}

Explanation

  • Use String#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.
deleted 12 characters in body
Source Link
britishtea
  • 1.2k
  • 6
  • 14

Ruby, 162153

a,x="The","teen-hundreds were #{t="a time"} for "
?K.upto(?c){puts a+"puts"#{a="The "}eight#{xx="teen-hundreds we#{t="re a time "}for "}rum.
#{a} nine#{x}fun.
#{a} two-thousands are #a#{t} to run
a civilized classroom."}

Explanation

  • Use Range#mapString#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.

Ruby, 162

a,x="The","teen-hundreds were #{t="a time"} for "
?K.upto(?c){puts a+" eight#{x}rum.
#{a} nine#{x}fun.
#{a} two-thousands are #{t} to run
a civilized classroom."}

Explanation

  • Use Range#map to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.

Ruby, 153

?K.upto(?c){puts"#{a="The "}eight#{x="teen-hundreds we#{t="re a time "}for "}rum.
#{a}nine#{x}fun.
#{a}two-thousands a#{t}to run
a civilized classroom."}

Explanation

  • Use String#upto to print the lines 25 times. The range "K".."c" is 25 characters.
  • Use basic String interpolation to shorten the lines.
deleted 4 characters in body
Source Link
britishtea
  • 1.2k
  • 6
  • 14
Loading
Source Link
britishtea
  • 1.2k
  • 6
  • 14
Loading