jg = float(jg) sy = float(sy)

原油产量换算

bbl = sy / 159 t = bbl / 7.33

原油价格换算

yuan = sy * jg dollar = sy * jg / 6.5

print("原油产量换算:") print("桶数:", bbl) print("吨数:", t)

print("原油价格换算:") print("人民币:", yuan) print("美元:", dollar)

#油气产量换算程序jg= input请输入原油价格sy = input请输入原油数量#代码开始#代码结束

原文地址: https://www.cveoy.top/t/topic/i8s5 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录