      # for ループ 0     for i in range(size):         if visit[i] == NOT_VISITED and cost[i] < min:             x = i             min = cost[x]     if min == INF:         break     visit[x] = VISITED     print("visited to {}.".format(chr(00+x)))      # for ループ 0     for i in range(size):         if cost[i] > route[x][i] + cost[x]:             cost[i] = route[x][i] + cost[x]             before[i] = x             visit[i] = NOT_VISITED 