8 lines
164 B
Python
8 lines
164 B
Python
|
char = input()
|
||
|
if ord(char) == ord("Z"):
|
||
|
print("A")
|
||
|
else:
|
||
|
print(chr(ord(char) + 1))
|
||
|
# without if:
|
||
|
# print(chr((ord(input()) - ord("A") + 1) % 26 + ord("A")))
|