题解 | #无法更改的信息#
无法更改的信息
https://www.nowcoder.com/practice/0fce92fc0c7046038c185c0b3e7ed996
import sys t1 = tuple(input().split()) t2 = tuple(input().split()) print(t1) print(t2) print(t1[:3]+t2[-3:]) for line in sys.stdin: a = line.split() print(int(a[0]) + int(a[1]))
元组,列表()
切片【】