반응형
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)
반응형
'나는 이렇게 학습한다 > Algorithm & SQL' 카테고리의 다른 글
0119. Thinkful - Number Drills: Blue and red marbles (0) | 2023.01.19 |
---|---|
0118. Ordered Count of Characters (0) | 2023.01.18 |
0116. OOP: Object Oriented Piracy (0) | 2023.01.16 |
0115. Name on billboard (0) | 2023.01.15 |
0114. Are arrow functions odd? (0) | 2023.01.15 |