python 从入门到精通教程二

2024-11-09 05:38:12

print 是一个结构,用于打印输出的,还能格式化输出,现在我们只需要知道简单的使用即可,print "hello, world!" #输出字符串print 1+2 #输出计算结果print "count result:",1+2 #字符串与计算结果合并后输出

四则运算

python 从入门到精通教程二python 从入门到精通教程二
猜你喜欢