MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / cost

Method cost

Solutions/7_3/validate.py:159–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157
158 @property
159 def cost(self):
160 return self.shares * self.price
161
162 @validated
163 def sell(self, nshares:PositiveInteger):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected