728x90 반응형 SMALL 전체 글375 백준) 30224번 - python n = int(input()) if "7" not in str(n) and n % 7 !=0: print(0) elif "7" not in str(n) and n % 7 == 0: print(1) elif "7" in str(n) and n % 7 !=0: print(2) elif "7" in str(n) or n % 7 == 0: print(3) 2024. 3. 12. 백준) 30214번 - python a,b = map(int, input().split()) print("E" if a>=b/2 else "H") 2024. 3. 11. 백준) 30087번 - python 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]) 2024. 3. 10. 백준) 30030번 - python B = int(input()) print(int(round(B / 1.1 , -1))) 2024. 3. 9. 이전 1 ··· 80 81 82 83 84 85 86 ··· 94 다음 728x90 반응형 LIST