def solution(phone_number):
    answer = ""
    answer = "*" * len(phone_number[:-4]) + phone_number[-4:]
    return answer

 

def solution(phone_number):
    return "*" * len(phone_number[:-4]) + phone_number[-4:]

+ Recent posts