mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-25 12:25:10 -08:00
Python: Fix linting issues
The following Flake8 issues were fixed: * W291 * W504 * F821 * F401 * F541 * E402 * E711
This commit is contained in:
@@ -249,7 +249,7 @@ if __name__ == "__main__":
|
||||
beaver_price = (
|
||||
int((0.25 * random.random() + 1.00) * 100 + 0.5) / 100
|
||||
) # INT((.25*RND(1)+1.00)*10^2+.5)/10^2
|
||||
if fox_price == None:
|
||||
if fox_price is None:
|
||||
# Original Bug? There is no Fox price generated for New York, it will use any previous "D1" price
|
||||
# So if there was no previous value, make one up
|
||||
fox_price = (
|
||||
|
||||
Reference in New Issue
Block a user