Write the code inside sketch book and click on "Play" button.

It will open up a new window to show the results.

Note: you can also use Ctrl+R short cut to run.