🔗 문제
https://school.programmers.co.kr/learn/courses/30/lessons/181912
프로그래머스
코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.
programmers.co.kr

💻 Code
def solution(intStrs, k, s, l):
answer = []
for num in intStrs:
substring = int(num[s:s + l])
if substring > k:
answer.append(substring)
return answer

'Algorithm > 프로그래머스' 카테고리의 다른 글
| [Lv.0/Python] 다음에 올 숫자 (0) | 2023.07.25 |
|---|---|
| [Lv.0/Python] 특별한 이차원 배열 2 (0) | 2023.07.15 |
| [Lv.0/Python] 가까운 수 (0) | 2023.07.15 |
| [Lv.0/Python] 가까운 1 찾기 (0) | 2023.07.15 |
| [Lv.0/Python] 커피 심부름 (0) | 2023.07.15 |
