๐ ๋ฌธ์์ด -> ์์คํค์ฝ๋
ord()
print(ord('A'))
# ์ถ๋ ฅ: 65
๐ ์์คํค์ฝ๋ -> ๋ฌธ์์ด
chr()
print(chr(65))
# ์ถ๋ ฅ: A
'๐Coding > ๐Python3' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Python] ์์์ ์๋ฆฌ ์ ์ถ๋ ฅ (0) | 2021.10.04 |
---|---|
[Python] list, tuple -> String (0) | 2021.09.01 |
[Python] heapq (0) | 2021.08.20 |
[Python] lambda (0) | 2021.07.29 |
[Python] ์์ด, ์กฐํฉ (0) | 2021.05.16 |