摘要: #hello.pydef sayHello(): str="hello" print(str);if __name__ == "__main__": print ('This is main of module "hello.py"') sayHello()python作为一... 阅读全文
posted @ 2015-05-13 15:43 liyou 阅读(371) 评论(0) 推荐(0) 编辑
摘要: hello.py#!/usr/local/bin/python3.4count=0while(count<9): print('the count is:',count) count=count+1;print('good bye!')运行:./hello.py 阅读全文
posted @ 2015-05-13 11:43 liyou 阅读(123) 评论(0) 推荐(0) 编辑