多语言展示
当前在线:1768今日阅读:126今日分享:42

python 从入门到精通教程二

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

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

推荐信息