문자와 python ord()를 통해, 문자를 아스키코드로 바꾼다. 대소문자를 서로 바꾸는 코드를 작성해보았다. https://stackoverflow.com/questions/227459/how-to-get-the-ascii-value-of-a-character How to get the ASCII value of a character How do I get the ASCII value of a character as an int in Python? stackoverflow.com str = input() result = "" for s in str: if(ord(s)