Skip to content

Commit 5d5ca3c

Browse files
authored
Merge branch 'main' into master
2 parents c767b3f + 2d2fa22 commit 5d5ca3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎cmkim/2021 카카오 인턴쉽/프로그래밍1.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ def solution(s):
77
i = 0
88
while i < len(s):
99

10+
1011
if s[i].isdigit():
1112
arr.append(int(s[i]))
1213

1314
else:
1415
j = 0
16+
1517
while j < 10:
1618
if num[j] in s[i:i+5]:
19+
1720
arr.append(j)
1821
i += len(num[j]) - 1
1922
break
@@ -26,3 +29,4 @@ def solution(s):
2629

2730
#solution('1zerotwozero3')
2831

32+

0 commit comments

Comments
 (0)