The easiest way to include code in an example (if you're using markdown, the github default wiki language) is to use three backticks ("`"). E.g.,
print 'Hello world!'
To give it python syntax highlighting, just be sure to put the word "python" immediately after the first three backticks:
import sys a = 10 * 10 sys.exit(-1)
There was an error while loading. Please reload this page.