Python 梯形面积计算程序
def f(up=1, down=2, height=3): return (up + down) * height / 2
result = eval(input()) print('{:.1f}'.format(f(*result)))
原文地址: https://www.cveoy.top/t/topic/ov4W 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
def f(up=1, down=2, height=3): return (up + down) * height / 2
result = eval(input()) print('{:.1f}'.format(f(*result)))
原文地址: https://www.cveoy.top/t/topic/ov4W 著作权归作者所有。请勿转载和采集!