格式化输出

a=eval(input())
print("{:.3f}".format(a))

 

posted @ 2020-03-22 17:44  liuchun玲  阅读(77)  评论(0编辑  收藏  举报