python再学习 发表于 2019-05-22 | 分类于 IT 打印整数 1print ("I am %d years old"%(25)) 打印小数点(指定2位小数点) 1print ("My height is %.2f m"%(1.8))