백준 2490번: 윷놀이 #Python

ColorlessDia·2024년 7월 8일

algorithm/baekjoon

목록 보기
232/808
yut_list = [str(sum(map(int, input().split()))) for _ in range(3)]

matched_yut = dict(zip(list('32104'), list('ABCDE')))

for yut in yut_list:
    print(matched_yut[yut])

0개의 댓글