본문 바로가기
백준문제/브론즈 5

백준) 30087번 - python

by kiseno 2024. 3. 10.
728x90
반응형
SMALL
N,lst = int(input()),[]
seminal_dic = {
    "Algorithm": 204,
    "DataAnalysis": 207,
    "ArtificialIntelligence": 302,
    "CyberSecurity": "B101",
    "Network": 303,
    "Startup": 501,
    "TestStrategy": 105
}

for i in range(N):
    seminal = input()
    if seminal in seminal_dic.keys():
        lst.append(seminal_dic[seminal])
        print(lst[i])
728x90
반응형
LIST

'백준문제 > 브론즈 5' 카테고리의 다른 글

백준) 30224번 - python  (0) 2024.03.12
백준) 30214번 - python  (0) 2024.03.11
백준) 30030번 - python  (0) 2024.03.09
백준) 30007번 - python  (0) 2024.03.08
백준) 29863번 - python  (0) 2024.03.07