Skip to content

Commit d6ca944

Browse files
committed
Update '핸드폰 번호 가리기'
1 parent c6f83dd commit d6ca944

File tree

1 file changed

+6
-0
lines changed
  • Level_1/핸드폰 번호 가리기

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def solution(phone_number):
2+
str_list = list(phone_number)
3+
#함수를 완성해 별이를 도와주세요
4+
for i in range(len(phone_number)-4):
5+
str_list[i] = '*'
6+
return "".join(str_list)

0 commit comments

Comments
 (0)