在打印函数中将浮点格式四舍五入为两位小数 我有以下代码: print ("Cost: %f per %s" % (mrate[choice], munit[choice])) 输出: Cost: 25.770000 per 10gm tu ...2024-06-26 已阅读: n次