Skip to content

Instantly share code, notes, and snippets.

@JasonRBowling
Created December 12, 2020 19:59
Show Gist options
  • Save JasonRBowling/72d0c6c7aa0be9f6da0457abdfa3dd83 to your computer and use it in GitHub Desktop.
Save JasonRBowling/72d0c6c7aa0be9f6da0457abdfa3dd83 to your computer and use it in GitHub Desktop.
class coin:
purchasedPrice = 0.0
numHeld = 0.0
numBought = 0.0
name = ""
lastBuyOrder = ""
timeBought = ""
def __init__(self, name=""):
print("Creating coin " + name)
self.name = name
self.purchasedPrice = 0.0
self.numHeld = 0.0
self.numBought = 0.0
self.lastBuyOrderID = ""
self.timeBought = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment