python学习随记

python版本

python3.0 不向下兼容2.0,python2.0在不断更新,以适应3.0.最终python3.0能运行2.0代码

#!/usr/bin/env
print "hello world"

 注释:

多行注释

'''

dfdfsfd

'''

单行注释

#

posted @ 2018-03-14 11:26  stromliu  阅读(63)  评论(0编辑  收藏  举报