a除以b

a = float(input()) 
b = float(input())
if b == 0:  
    print("除零错误")
else:
    c =a/b
    y=round(c,2)  
    print("{}".format(y))

 

posted @ 2020-04-14 21:52  林晓婷  阅读(632)  评论(0)    收藏  举报