We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 432ef48 commit efd272eCopy full SHA for efd272e
2 files changed
프로그래머스/1/12948. 핸드폰 번호 가리기/README.md
@@ -1,10 +1,10 @@
1
# [level 1] 핸드폰 번호 가리기 - 12948
2
3
-[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/12948)
+[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/12948?language=python3)
4
5
### 성능 요약
6
7
-메모리: 74.7 MB, 시간: 0.03 ms
+메모리: 11.4 MB, 시간: 0.00 ms
8
9
### 구분
10
@@ -16,7 +16,7 @@
16
17
### 제출 일자
18
19
-2026년 06월 24일 09:38:14
+2026년 07월 14일 12:07:45
20
21
### 문제 설명
22
프로그래머스/1/12948. 핸드폰 번호 가리기/핸드폰 번호 가리기.py
@@ -1,2 +1,5 @@
def solution(phone_number):
- return "*" * (len(phone_number) - 4) + phone_number[-4:]
+ ans = ""
+ ans += "*" * (len(phone_number) - 4)
+ ans += phone_number[-4:]
+ return ans
0 commit comments