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
# [ENTER_SOURCE_CODE] | |
# A.G. (c) 2017. All Rights Reserved. | |
# January 4th, 2017 | |
import time | |
class EnterSourceCode: | |
def __init__(self, time, filename, sourcecode, category): | |
self.time = time | |
self.filename = filename |
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
# DATETIME: (date at top) | |
# EXPERIMENT: (number and title clearly stated) | |
# (Clear statement of purpose) | |
# PROCEDURE: (succinct description of procedure | |
# SIGNATURE: |
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
# STOCK TICKER GAME IMPLEMENTATION | |
""" | |
>>> change_amount = [5, 10, 20] | |
>>> fluctuations_direction = ['up', 'down', 'dividend'] | |
>>> stock_types = ['Gold', 'Silver', 'Oil', 'Industrial', 'Bonds', 'Grain'] | |
>>> def up(account,change_amount): | |
return account+change_amount | |
>>> def down(account,change_amount): | |
return account-change_amount |
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 random | |
import time | |
ls1 = [' is it raining? ', ' what have I become? ', ' because ', ' since I know that answer ', ' because you asked me to ', ' - in the middle of it all - ', ' verily, verily, it was thus ', ' predicting the future ', ' raining hard, is it? ', ' data terrain built from constructivistic principles ' ] | |
ls2 = [' in the morning we saw a white mare ', ' poetic license is what I am told ', ' because ', ' and because ', ' always surely ', 'almost gigantesque ', ' almost certainly ', ' an infinitesimal change ', ' because the differential ', ' all the while ', ' is threatening our documentary heritage ', ' historiotherapeusis & historiopathogenesis '] | |
""" | |
>>> import random | |
>>> import time |