Skip to content

Commit c3e8bda

Browse files
committed
0403
1 parent 1a09290 commit c3e8bda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
func solution(_ phone_number:String) -> String {
2+
return String(Array(repeating: "*", count: phone_number.count - 4)) + phone_number.suffix(4)
3+
}

0 commit comments

Comments
 (0)