반응형
제출한 코드
chess = [1,1,2,2,2,8]
che_list = list(map(int, input().split()))
for i in range(len(chess)):
print(chess[i]-che_list[i], end=' ')
결과

후기
반응형
'BQJ 백준 > python' 카테고리의 다른 글
[Python/파이썬] 백준 3765번: Celebrity jeopardy (0) | 2024.08.02 |
---|---|
[Python/파이썬] 백준 3052번: 나머지 (0) | 2024.07.20 |
[Python/파이썬] 백준 2941번: 크로아티아 알파벳 (0) | 2024.07.17 |
[Python/파이썬] 백준 2920번: 음계 (0) | 2024.07.17 |
[Python/파이썬] 백준 2908번: 상수 (0) | 2024.07.12 |