pyton 的变量是动态变量,变量自动匹配类型;


动态变量:

#!/usr/bin/python

#dynamic variable
a = 10;
c = "abcd";
print 'dynamic variable'
print a;
print c;


结果.PNG