www.acmicpc.net/problem/2578 import sys def isbingo(_list): result = 0 #1 가로 확인 for i in range(5): for j in range(5): if not _list[i][j]: break else: result += 1 #2 세로 확인 for j in range(5): for i in range(5): if not _list[i][j]: break else: result += 1 #3 대각선 확인 for k in range(5): # 00,11,22,33,44 if not _list[k][k]: break else: result += 1 for k in range(5): #04,13,22,31,40 if not _list[k][4-k]..