Beakjoon&프로그래머스/파이썬
[백준/파이썬] 33528번 Alphabetic Shift
현장
2025. 2. 20. 17:21
-Code
alpa = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
line = input()
for i in range(26):
res = ""
for w in line:
res += alpa[(ord(w) - 65 - i) % 26]
print(res)