일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- til
- 피보나치 수
- Counting cells in a blob
- C++
- collections.deque
- 수 정렬하기
- 2015 봄학기 알고리즘
- flask
- centuryFromYear
- Daily Commit
- 2750
- 10953
- adjacentElementsProduct
- Numpy
- 파이썬머신러닝완벽가이드
- baekjun
- cpp
- codesingal
- matrixElementsSum
- shapeArea
- almostIncreasingSequence
- data_structure
- 백준
- codesignal
- All Longest Strings
- markdown
- Python
- recursion
- 파이썬 포렌식
- Sequential Search
Archives
- Today
- Total
Introfor
Descending Order 본문
1
2
|
def descending_order(num):
return int(''.join(sorted(str(num), reverse=True)))
|
cs |
이 문제는 비슷한 문제를 풀어봐서 쉽게 접근할 수 있었다.
'Programming_prob > Codewares' 카테고리의 다른 글
Persistent Bugger (0) | 2020.09.21 |
---|---|
Complementary DNA (0) | 2020.09.20 |
Who likes it (0) | 2020.09.20 |
Comments