while True: try: string=input() if string!="!": res="" for i in string: if i.isupper(): res+=chr(ord("Z")-(ord(i)-ord("A"))) elif i.islower(): res += chr(ord("z") - (ord(i) - ord("a"))) else: res+=i print(res) except: break
字符串反码A
猜你喜欢
转载自www.cnblogs.com/670ling/p/12547243.html
今日推荐
周排行