-Code
arr = []
while True:
line = input()
if line == "000-00-0000":
break
arr.append(line)
for el in sorted(list(set(arr))):
if arr.count(el) > 1:
print(el)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 4655번 Hangover (0) | 2024.06.25 |
---|---|
[백준/파이썬] 15577번 Prosjek (0) | 2024.06.24 |
[백준/파이썬] 2622번 삼각형만들기 (0) | 2024.06.22 |
[백준/파이썬] 12167번 Standing Ovation (Large) (0) | 2024.06.21 |
[백준/파이썬] 27130번 Long Multiplication (0) | 2024.06.20 |