Embedding source code and output side-by-side as HTML for Google sites
I am trying to write a simple source code to plot a sinusoid as shown:
When I click Share--> Copy and past the HTML code on google sites, the output and source code are no longer aligned like in this figure. I only get the source code and python terminal underneath it.
How can I fix this?