This file contains 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
import pymongo | |
connectionString = "mongodb+srv://username:[email protected]/test" | |
def insertDocument(): | |
studentInfo = { | |
"name": "Drake", | |
"section": 2, |
This file contains 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
def sum(a, b, c ): | |
return a + b + c | |
def printBoard(xState, zState): | |
zero = 'X' if xState[0] else ('O' if zState[0] else 0) | |
one = 'X' if xState[1] else ('O' if zState[1] else 1) | |
two = 'X' if xState[2] else ('O' if zState[2] else 2) | |
three = 'X' if xState[3] else ('O' if zState[3] else 3) | |
four = 'X' if xState[4] else ('O' if zState[4] else 4) | |
five = 'X' if xState[5] else ('O' if zState[5] else 5) |
This file contains 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
import requests | |
import pandas as pd | |
from bs4 import BeautifulSoup | |
import random | |
reviewlist = [] | |
def getRandomProxy(): | |
# Using Proxy |