Re: [Tutor] [Fwd: Re: python problem - help!!]

2007-09-24 Thread bhaaluu
> print 'testvar: %.2f' % testvar > Output: > testvar: 10.0123 Should be: print 'testvar: %.4f' % testvar Output: testvar: 10.0123 -- bhaaluu at gmail dot com On 9/24/07, bhaaluu <[EMAIL PROTECTED]> wrote: > Greetings, > > I ran the code sample you sent and found a couple of errors > that woul

Re: [Tutor] [Fwd: Re: python problem - help!!]

2007-09-24 Thread bhaaluu
Greetings, I ran the code sample you sent and found a couple of errors that wouldn't let the code run. The first error has to do with variable assignment. When you assign a variable, it is usually on the left and what you want to assign to it is on the right. See Lines 25,29. The second error ha

Re: [Tutor] [Fwd: Re: python problem - help!!]

2007-09-23 Thread Chris
It's not a homework problem it is a practice problem to figure out how to code, to be able to do the assignments... Chris wrote: > If I sent you the problem can you build it so I know what it is suppose to > look like? I've spend too much time it, and made it worse...all I know is > that it does

[Tutor] [Fwd: Re: python problem - help!!]

2007-09-23 Thread Luke Paireepinart
Chris wrote: If I sent you the problem can you build it so I know what it is suppose to look like? I've spend too much time it, and made it worse...all I know is that it does not produce the wanted results and is missing a loop... It looks like a homework problem, so we can't just give you an