题解 | #公务员面试#
公务员面试
http://www.nowcoder.com/practice/f3a134908d5b41869f14f58307008a97
while 1:
try:
max = 0
min = 100
sum = 0
n = map(float, input().split())
for i in n:
sum += i
if i > max:
max = i
if i < min:
min = i
a = (sum-max-min)/5
print("%.2f" % a)
except:
break