def encrypt(code, key):
code_new = ''
for i in range(len(code)):
code_new = code[(i+key)%len(code)] + code_new
return code_new
code = input('请输入加密字符串:')
key = int(input('请输入偏移位数:'))
print(encrypt(code, key))
当输入“Python”和“3”后,程序输出的结果是 ( )