python 从入门到精通教程二

2026-04-01 17:38:36

1

python 从入门到精通教程二

2、print 是一个结构,用于打印输出的,还能格式化输出,现在我们只需要知道简单的使用即可,

print "hello, world!" #输出字符串

print 1+2  #输出计算结果

print "count result:",1+2  #字符串与计算结果合并后输出

python 从入门到精通教程二

3

python 从入门到精通教程二

猜你喜欢