Run ID:117358

提交时间:2025-04-17 20:32:04

s = input().strip() encrypted = [] for c in s: if c.islower(): if c == 'z': encrypted.append('a') else: encrypted.append(chr(ord(c) + 1)) elif c.isupper(): if c == 'Z': encrypted.append('A') else: encrypted.append(chr(ord(c) + 1)) else: encrypted.append(c) print(''.join(encrypted))