python noob help

piloneur piloneur at gmail.com
Mon Oct 6 06:14:21 EDT 2008


On 6 oct, 09:36, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Mon, 06 Oct 2008 00:08:58 -0700, toyko wrote:
> > So yeah, I have this assignment for my computer science class,
> >http://pages.cpsc.ucalgary.ca/~boyd/231/as1.pdfso far this is what I
> > have wrote, any suggestions cause I am stuck!
>
> Learn Python and actually *think* about the problem and a solution.  We
> are not going to do your homework for you.  You have to show a little
> effort.  So far you have just tried to copy the formulas from the
> assignment to Python code -- and failed because there are runtime
> errors.  So you didn't even bother to test what you have so far before
> crying for help.
>
> Ciao,
>         Marc 'BlackJack' Rintsch


small hint :
"(5)(2)" don't work, use "5*2"
same for "Qx2", use "Q*2"



More information about the Python-list mailing list