题解 | 疫情死亡率

疫情死亡率

https://www.nowcoder.com/practice/30ccb6041bce43c6989b910dc46d391c

c,d = map(int,input().split())

if c == 0 or c < d:
    print ("输入确诊人数有误")
else: 
    death_rate = d/c*100
    print(f'{death_rate:.3f}%')




#Python3#
全部评论

相关推荐

Edgestr:没项目地址就干脆把那一栏删了呗
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务