Press left arrow to delete the last character. Press enter to create a new line. Click the green flag to switch between editing and playing.