python读写操作
import sys
1 def test(): 2 a=int(input()) 3 x=[int(i) for i in input().split(' ')] 4 y=[int(j) for j in sys.stdin.readline().split(' ')] 5 for i in range(a): 6 b=sum_1(i,x)+sum_1(i,y) 7 if i==a-1: 8 print(b) 9 break 10 print(b,end=' ')
Stay hungry,Stay foolish.
import sys
1 def test(): 2 a=int(input()) 3 x=[int(i) for i in input().split(' ')] 4 y=[int(j) for j in sys.stdin.readline().split(' ')] 5 for i in range(a): 6 b=sum_1(i,x)+sum_1(i,y) 7 if i==a-1: 8 print(b) 9 break 10 print(b,end=' ')