发布时间:2019-09-20 07:31:08编辑:auto阅读(2179)
练习中有一个很无聊的问题:如何把Python代码写成一行?
print "How can i write python in a line? \n"; print "You can use ';' follow the sentence. " ; print "Then run the script!"; print; print "Done."
使用 ; 分割每段代码,就能把Python代码写成一行,但要注意语法。
上一篇: flex3整合java
下一篇: python unittest框架
51064
50455
41057
37922
32390
29282
28160
23001
22963
21294
1309°
2005°
1668°
1594°
1885°
1679°
2344°
3944°
3856°
2755°