-
10951 try except 런타임에러 나오면 생각해보기코테 대비 python/백준 2023. 1. 30. 21:21
https://www.acmicpc.net/problem/10951
10951번: A+B - 4
두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
try: while True: a,b = map(int, input().split()) print(a+b) except: exit()
try except 쓸생각을 못했음 1!!!
'코테 대비 python > 백준' 카테고리의 다른 글
11654 아스키코드 (0) 2023.01.31 1110 문자열+while (0) 2023.01.30 10952 while 문! (0) 2023.01.30 10952 while 문! (0) 2023.01.30 2439 별 찍기 print(,end='') (0) 2023.01.30