Created
March 4, 2020 21:49
-
-
Save Joshuaek/4d7411d929a019d843caa7fa4fb5dbf2 to your computer and use it in GitHub Desktop.
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 project(self, start_month, contract_frequency, payment_frequency, number_of_contracts, value, term, name, increase_period=1, increase_percentage=0): | |
for m in range(start_month, self.number_of_months - start_month, contract_frequency): | |
c = contract(m, payment_frequency, value, term, name + str(m), increase_period, increase_percentage) | |
self.add_contract(c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment