fork download
  1. e = %w(■ □).cycle
  2. for _ in 0..9
  3. for _ in 0..9
  4. print e.next
  5. end
  6. puts e.next && nil
  7. end
  8.  
Success #stdin #stdout 0.01s 8208KB
stdin
Standard input is empty
stdout
■□■□■□■□■□
□■□■□■□■□■
■□■□■□■□■□
□■□■□■□■□■
■□■□■□■□■□
□■□■□■□■□■
■□■□■□■□■□
□■□■□■□■□■
■□■□■□■□■□
□■□■□■□■□■