This video is part of a course introducing Sonic Pi (www.sonic-pi.net) to musicians. You can view the whole course in order and watch many more videos at www.daveconservatoire.org
What I noticed just by guessing and hoping was that semicolon would be an instruction separator. That makes it slightly easier to read (and to copy/paste) play :c4; sleep 1 play :c4; sleep 1 play :g4; sleep 1 play :g4; sleep 1 ...