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
divisor = 100 | |
company_names = ['ALP','FORRESTER','GE Aero', ... ] | |
for index, company_name in enumerate(company_names): | |
if index % divisor == 0 and index != 0: | |
# perform action on each 100 count | |
# perform normal actions outside of tallying 100 if applicable |
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
### | |
# Attribute Branching Impurity Calculator | |
# Zachary Friss | |
# CSCI 420 | |
# Written for Python 3.4 | |
### | |
from statistics import * | |
from math import * |
NewerOlder