实例:
效果如下:
#!/usr/bin/python
# -*- coding: UTF-8 -*-
for i in range(1,5):
for j in range(1,5):
for k in range(1,5):
if( i != k ) and (i != j) and (j != k):
print i,j,k
通过修改代码片中的brush: python←,可以支持以下语言代码高亮:
applescript
as3
bash
coldfusion
cpp
csharp
css
delphi
diff
erlang
groovy
java
javafx
jscript
perl
php
plain
powershell
python
ruby
sass
scala
sql
vb
xml