Created
November 29, 2021 23:15
-
-
Save alphazwest/fe2132a6391b76527fbcdc06fff10e90 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
# Five prices as High and Low for the | |
# five day period K | |
prices = [ | |
{"high": 5, "low": 3}, | |
{"high": 7, "low": 4}, | |
{"high": 9, "low": 6}, | |
{"high": 7, "low": 3}, | |
{"high": 8, "low": 4}, | |
] | |
# Example access | |
day_one_high = prices[0]["high"] | |
day_one_low = prices[0]["low"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment