http://eric0806.blogspot.tw/2014/04/blogger-google-code-prettify.html
感謝老宅大大~~
以後寫Code在Blog可以有 Line Number了!!!!
請編輯時切換到HTML模式,打下面兩個紅字,藍色是要放的程式碼~~
<pre>
要放的Code
</pre>
# Python 3: Simple output (with Unicode) >>> print("Hello, I'm Python!") Hello, I'm Python! # Input, assignment >>> name = input('What is your name?\n') >>> print('Hi, %s.' % name) What is your name? Python Hi, Python.
沒有留言:
張貼留言