[BOJ / Python] 11654 아스키 코드

도니·2023년 4월 3일

BOJ / Python

목록 보기
25/105
post-thumbnail

문제

백준 11654 아스키 코드

코드

#BOJ 11654 아스키 코드

print(ord(input()))

ord() : 문자 → 아스키코드
chr() : 아스키코드 → 문자

profile
Where there's a will, there's a way

0개의 댓글