题解 | 疫情死亡率
疫情死亡率
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#疫情死亡率
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#相关推荐
招聘动态