#Ruby, 39 bytes 10.times{|i|puts ("_|__"*18)[i%2*2,70]}