Simple question - stock market simulation

Paul Rubin http
Mon Feb 9 00:48:59 EST 2009


"cptn.spoon" <cptn.spoon at gmail.com> writes:
>   def __init__(self, stockname, stockpricelist[], stockrisk,
> stockqty): ...

You would say just stockpricelist rather than stockpricelist[],  but
other than that your class def looks good.



More information about the Python-list mailing list