[原]My first Python

我的第一个Python程序:

print 'hello world'
raw_input ("print any key to continue...")

在python3.4下应写为

print ("hello world! This is my first python!")
input("Press enter key to close this window...")

此时的print函数已经成为python内置函数。

作者:svitter 发表于2014-5-2 23:11:33 原文链接
阅读:20 评论:0 查看评论
posted @ 2014-05-02 23:12  svtter  阅读(131)  评论(0编辑  收藏  举报