Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
57458 木木老师 【一维数组】数组元素移动(1) Python3 Accepted 33 MS 3752 KB 179 2023-09-03 14:08:53

Tests(1/1):


Code:

n=int(input()) arr=[] for x in map(int,input().split()): arr.append(x) res=arr[n-1:n] for i in range (0,n-1): res.append(arr[i]) for i in res: print(i,end=" ")