像星星的光

导航

format的使用-第二周第二题作业

一, print("{:.3f}".format(3.1415926)) 二, a=float(input("数:"))print("{:.3f}".format(a)) 网上摘抄笔记

posted on 2021-09-12 11:24  像星星的光  阅读(32)  评论(0编辑  收藏  举报