Python
Python 문자 아스키 코드 변환
KEMON
2019. 12. 18. 23:46
728x90
1. 문자 -> 아스키 코드
print(ord('A')) #출력값 : 65
2. 아스키 코드 -> 문자
print(chr(45)) #출력값 : a
728x90