def runWithNumberOfAuthorsChanging(): with open("authorsChanging.txt", "w+") as oFile: for i in range (20, 320, 10): books = GetBooks.getBooks(reParse = False, minNumberOfBooksRequired = 3, numberOfAuthorsToUse = i) average = runOneSimulation(books) print("on" + str(i)) oFile.write(str(i) + "\t" + str(average)) oFile.write('\n')
def demo(): books = GetBooks.getBooks(reParse = False, minNumberOfBooksRequired = 3, numberOfAuthorsToUse = 100) runOneSimulation(books)