python 代码片段2

#coding=utf-8

# python没有花括号。我们用对齐来代替括号:通常是四个空格(任意数目的空格货tab也都可以)

# python 注释用  #

# python不需要像其他语言那样需要首先声明一个特定的类型,

# python是一门动态语言

foo='bar'
print foo
foo=1
print foo
原文地址:https://www.cnblogs.com/yufenghou/p/5095329.html