[Programmers] 핸드폰 번호 가리기
Python
def solution(phone_number):
answer = '*' * (len(phone_number) - 4) + phone_number[-4:]
return answer
def solution(phone_number):
answer = '*' * (len(phone_number) - 4) + phone_number[-4:]
return answer
댓글남기기