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 |
Tags
- sting position
- Split
- List
- index
- cask
- Modified Date
- Boto3
- Unknown command: cask
- list.sorted()
- Algorithm
- homebrew-core is a shallow clone.
- list to set
- List 초기화
- permutations
- 피보나치 수
- 프로그래머스
- COUNT
- Python
- set to list
- list.pop(0)
- 알고리즘
- sort()
- Python 나머지
- List to String
- zip()
- string
- Python 몫
- RecursionError
- python3
- 알고리즘 풀이
Archives
- Today
- Total
목록별찍기 (1)
데이터와 코드로 세상을 바라봅니다.
[Python3] - String, index, concat, add
def solution(N): answer = '' for i in range(1,N+1): answer_star = '' for k in range(1,i+1): answer_star = answer_star+"*" answer = answer+answer_star+"\n" answer = answer[:-1] print(answer) return answer [문제] - 별 찍기 - 1 문제 설명 첫번째 줄에서 N번째 줄까지 다음과 같은 규칙으로 출력한 결과값을 구하여라. (1
Code/Python
2020. 11. 16. 16:51