题解 | 中彩票的的概率

中彩票的的概率

https://www.nowcoder.com/practice/531e409e1b564cfbbb275c6a8d3a4b45

a=list(map(int,input().split()))
b=list(map(float,input().split()))
c=list(map(int,input().split()))
dict1=dict(zip(a,b))
print("%.3f"%(dict1[c[0]]*dict1[c[1]]*dict1[c[2]]))

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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