Hi Ke, and welcome to RC. Thanks for the update to provide the output to that example. It's appreciated.
A quick note on some things that make it easier for me to do my output sections that you might like: If you put this on a line on its own:
Then it expands to the text:
And I usually don't want language colourizations on output that would normally go to a terminal so I just put <pre>...</pre> tags around the actual output rather than language tags.
If you go to a small Python example with output; hit edit; then you can see the source. (Don't save any changes though - just go back a page when you're done). (I had to add a bit more to this entry to get the formatting right).
Welcome! --Paddy3118 (talk) 14:55, 3 November 2013 (UTC)
P.S. I also use ';Sample output:' on a line on its own to introduce the output too. --Paddy3118 (talk) 14:59, 3 November 2013 (UTC)