본문 바로가기
나는 이렇게 학습한다/Algorithm & SQL

0117. get character from ASCII Value

by daco2020 2023. 1. 18.

Write a function get_char() / getChar() which takes a number and returns the corresponding ASCII char for that value.

Example:

get_char(65)

should return:

'A'



Solution:

get_char = lambda x: chr(x)