下面是我在开玩笑地嘲笑该函数时遇到的Node.js代码。这里
vals = []
with open('filename.txt', 'r') as f:
for line in f:
vals.append(line.split()[0:2])
numbers = [val[0] for val in vals]
avg = sum(numbers) / len(numbers)
超时仅应在主超时调用之后才调用。有人可以帮我编写测试用例吗?
main2's