题解 | 中彩票的的概率
中彩票的的概率
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]]))

查看26道真题和解析