Python的标准输出
摘要:
遇到什么就添加到这里来。 首先,是最基本的。print "Number is %d %f %s"%(intA,floatB,stringC) 如果对浮点数的精度有所要求的话,比如要保留两位小数,用下面的语句。print "The number is %.2f"%floatA 阅读全文
posted @ 2016-01-16 16:13 FunBing 阅读(627) 评论(0) 推荐(0) 编辑
posted @ 2016-01-16 16:13 FunBing 阅读(627) 评论(0) 推荐(0) 编辑