有这样一个txt文本。数据如下:
Domain Configured
Clock freq.(MHz) Active time(seconds)
307.20 0.78
384.00 0.00
409.60 0.00
576.00 0.03
614.40 0.00
768.00 0.00
940.80 0.00
1171.20 0.80
1324.80 0.00
1401.60 0.01
Power collapse time(seconds): 14729.63
Low Power Island time(seconds): 1.30
Current core clock(MHz): 307.20
Total time(seconds): 14732.55
需要计算每行乘积之和(ΣClock freq* Active time)除以(1401.60*Total time)的值
1401.60是最后一个Clock freq
请展示python实现代码
非常感谢