python中从控制台读入多行int型数据并保存每一行
# Enter your code here. Read input from STDIN. Print output to STDOUT
from sys import stdin
team=[]
while True:
line = stdin.readline().strip()
if line=="":
break
item = line.split(" ")
item = [int(i) for i in item]
team.append(item)
print team声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。
