题型:单选题 题类: 难易度:普通
浙江省A9协作体2023-2024学年高三上学期信息技术暑假返校联考试卷
s = "abcxyz"
q = [1,2,3] + [0] * 10
head , tail = 0 , 3
res = ""
for i in s :
c = chr ((ord(i) - ord("a") + q [head]) % 26 + ord("a"))
res += c
q [tail] = q [head]
head = head + 1
tail = tail + 1
print(res)
执行该程序段后,输出的结果是( )
试题篮