str = input()
for i in str:
if i.islower()==True:
print("{}".format(chr(ord(‘z‘)+ord(‘a‘)-ord(i))),end="")
elif i.isupper()==True:
print("{}".format(chr(ord(‘Z‘)+ord(‘A‘)-ord(i))),end="")
else:
print(i,end="")
2023-09-25 11:22:16
str = input()
for i in str:
if i.islower()==True:
print("{}".format(chr(ord(‘z‘)+ord(‘a‘)-ord(i))),end="")
elif i.isupper()==True:
print("{}".format(chr(ord(‘Z‘)+ord(‘A‘)-ord(i))),end="")
else:
print(i,end="")