1. 문제
https://programmers.co.kr/learn/courses/30/lessons/12948
2. 풀이
def solution(phone_number):
return '*' * len(phone_number[:-4]) + phone_number[-4:]
https://programmers.co.kr/learn/courses/30/lessons/12948
def solution(phone_number):
return '*' * len(phone_number[:-4]) + phone_number[-4:]