Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- and
- 파이썬
- index
- count
- iNT
- range
- or
- 위코드
- Python
- lambda
- sum
- join
- map
- FOR
- STR
- MAX
- enumerate
- slice
- js
- len
- list
- WECODE
- Algorithm
- split
- decorator
- DART
- LOWER
- Sorted
- SQL
- If
Archives
- Today
- Total
코드로 우주평화
0117. get character from ASCII Value 본문
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 |