fork download
  1. N=int(input())
  2. c=[]
  3. for i in range(N):
  4. c.extend(map(int,input().split()))
  5.  
  6. print(c)
Success #stdin #stdout 0.02s 9180KB
stdin
3
1 2 3
4 5 6
7 8 9
stdout
[1, 2, 3, 4, 5, 6, 7, 8, 9]