Coding test
전화번호 목록
본명은이점례
2020. 10. 30. 15:04
728x90
answer = True
phone_book.sort()
if p1,p2 in zip(phone_book, phone_book[1:]):
if p2.startswith(p1):
answer = False
return answer
728x90