Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 더현대서울 맛집
- dacon
- hackerrank
- 금융문자분석경진대회
- ubuntu
- gs25
- Baekjoon
- AI 경진대회
- programmers
- Git
- SW Expert Academy
- PYTHON
- ChatGPT
- Docker
- Real or Not? NLP with Disaster Tweets
- 프로그래머스 파이썬
- 백준
- Kaggle
- 자연어처리
- github
- 맥북
- 편스토랑
- 편스토랑 우승상품
- 프로그래머스
- leetcode
- 코로나19
- 우분투
- 파이썬
- 데이콘
- 캐치카페
Archives
- Today
- Total
목록
반응형
2020/08/29 (1)
반응형
솜씨좋은장씨
[leetCode] 1556. Thousand Separator (Python)
Given an integer n, add a dot (".") as the thousands separator and return it in string format. Example 1: Input: n = 987 Output: "987" Example 2: Input: n = 1234 Output: "1.234" Example 3: Input: n = 123456789 Output: "123.456.789" Example 4: Input: n = 0 Output: "0" Constraints: 0 str: if len(str(n)) < 4: return str(n) else: len_str = len(str(n)) loop_num = len_str // 3 mod_num_list = [] for i ..
Programming/코딩 1일 1문제
2020. 8. 29. 21:44
반응형