-코드
p = list(map(int, input().split()))
x, y, r = map(int, input().split())
r = 0
for i in range(4):
if x == p[i]:
r = i + 1
break
print(r)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬]4714번 Lunacy (0) | 2021.04.28 |
---|---|
[백준/파이썬]15115번 Delayed Work (0) | 2021.04.28 |
[백준/파이썬]6780번 Sumac Sequences (0) | 2021.04.28 |
[백준/파이썬]4623번 Copier Reduction (0) | 2021.04.28 |
[백준/파이썬]10773번 제로 (0) | 2021.04.27 |