摘要: Python支持的所有基本算术运算符; 加法运算符: 示例: 1 a = 10 2 b = 96 3 sum1 = a+b 4 5 x = 3.14 6 y = 5.34 7 sum2 = x+y 8 9 print("sum1 = %d,sum2 = %.2f" % (sum1,sum2)) 结果 阅读全文
posted @ 2022-11-27 13:11 小菜鸟起飞ing 阅读(318) 评论(0) 推荐(0) 编辑