-
컴공생의 공부 일기
-
공부보단 일기에 가까운 것 같은
-
블로그
22.08.13 백준풀기
from sys import stdin N ,X = map (int, stdin.readline().split()) Nlist = list(map(int,stdin.readline().split())) for cha in Nlist: if cha < X : print(cha, end=" ") 리스트에다 쫙 넣고 싶으면 list(map(int,input()))~ from sys import stdin while(1): A, B = map (int, stdin.readline().split()) if A==B==0 : break print(A+B) 예외 처리 try,except( else, finally) https://blockdmask.tistory.com/537 [python] 파이썬 예외처리 try,..
2022. 8. 13.