-코드
x = list(map(int, input().split()))
y = list(map(int, input().split()))
r = 0
for i in range(5):
if x[i] != y[i]:
r += 1
if r == 5:
print("Y")
else:
print("N")
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬]19771번 Сапсан (0) | 2021.04.27 |
---|---|
[백준/파이썬]2108번 통계학 (0) | 2021.04.26 |
[백준/파이썬]17945번 통학의 신 (0) | 2021.04.26 |
[백준/파이썬]10262번 주사위 게임 (0) | 2021.04.26 |
[프로그래머스/파이썬] 같은 숫자는 싫어 (0) | 2021.04.25 |