Skip to main content
added 93 characters in body
Source Link
G B
  • 22.8k
  • 1
  • 20
  • 53

Ruby, 5 4 3 bytes

Crossed out 4 is still 4 ;(

p$*

Prints [] (empty array) then a newline

Try it online!

Ruby, 5 4 3 bytes

p$*

Prints [] (empty array) then a newline

Try it online!

Ruby, 5 4 3 bytes

Crossed out 4 is still 4 ;(

p$*

Prints [] (empty array) then a newline

Try it online!

added 6 characters in body
Source Link
G B
  • 22.8k
  • 1
  • 20
  • 53

Ruby, 5 4 43 bytes

p $'p$*

Prints nil[] followed by(empty array) then a newline

Try it online!Try it online!

Ruby, 5 4 bytes

p $'

Prints nil followed by a newline

Try it online!

Ruby, 5 4 3 bytes

p$*

Prints [] (empty array) then a newline

Try it online!

Sorry, didn't get that about the newline
Source Link
G B
  • 22.8k
  • 1
  • 20
  • 53

Ruby, 55 4 bytes

p 1e2

or

p 1e1$'

if we count newlinesPrints nil followed by a newline

Try it online!Try it online!

Ruby, 5 bytes

p 1e2

or

p 1e1

if we count newlines

Try it online!

Ruby, 5 4 bytes

p $'

Prints nil followed by a newline

Try it online!

Rollback to Revision 1
Source Link
G B
  • 22.8k
  • 1
  • 20
  • 53
Loading
deleted 41 characters in body
Source Link
G B
  • 22.8k
  • 1
  • 20
  • 53
Loading
Source Link
G B
  • 22.8k
  • 1
  • 20
  • 53
Loading