This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import urllib2 | |
import urllib | |
import re | |
def get_links(): | |
final_list = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Brian Chesley, Connect 4 | |
def run(): | |
board = [] | |
for i in range(0,6): | |
board.append([0]*7) | |
for row in board: | |
print row | |
turn = 1 | |
p1_wins = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Brian Chesley TicTacToe | |
import random | |
import collections | |
def display_board(board): | |
for row in board: | |
print row | |
## I tried to have line 7 as: print " ".join(row), but I got an error | |