Am 01.03.2013 17:28, schrieb Isaac Won:
What I really want to get from this code is m1 as I told. For this
purpose, for instance, values of fpsd upto second loop and that from
third loop should be same, but they are not. Actually it is my main
question.
You are not helping yourself...
In any
Thank you Ulich for reply,
What I really want to get from this code is m1 as I told. For this purpose, for
instance, values of fpsd upto second loop and that from third loop should be
same, but they are not. Actually it is my main question.
Thank you,
Isaac
On Friday, March 1, 2013 6:00:42 AM UTC
On Friday, March 1, 2013 7:41:05 AM UTC-6, Chris Angelico wrote:
> On Fri, Mar 1, 2013 at 7:59 PM, Isaac Won wrote:
>
> > while c <24:
>
> > for columns in ( raw.strip().split() for raw in f ):
>
> > while d <335:
>
>
>
> Note your indentation levels: the code does not agree
Thank you, Chris.
I just want to acculate value from y repeatedly.
If y = 1,2,3...10, just have a [1,2,3...10] at onece.
On Friday, March 1, 2013 7:41:05 AM UTC-6, Chris Angelico wrote:
> On Fri, Mar 1, 2013 at 7:59 PM, Isaac Won wrote:
>
> > while c <24:
>
> > for columns in ( raw.strip
On Fri, Mar 1, 2013 at 7:59 PM, Isaac Won wrote:
> while c <24:
> for columns in ( raw.strip().split() for raw in f ):
> while d <335:
Note your indentation levels: the code does not agree with your
subject line. The third loop is not actually inside your second.
Should it be?
Ch
On Fri, Mar 1, 2013 at 7:00 AM, Ulrich Eckhardt <
ulrich.eckha...@dominolaser.com> wrote:
> Am 01.03.2013 09:59, schrieb Isaac Won:
>
> try to make my triple nested loop working. My code would be:
>> c = 4
>>
> [...]
>
> while c <24:
>> c = c + 1
>>
>
> This is bad style and you shouldn
Am 01.03.2013 09:59, schrieb Isaac Won:
try to make my triple nested loop working. My code would be:
c = 4
[...]
while c <24:
c = c + 1
This is bad style and you shouldn't do that in python. The question that
comes up for me is whether something else is modifying "c" in that loop,
try to make my triple nested loop working. My code would be:
c = 4
y1 = []
m1 = []
std1 = []
while c <24:
c = c + 1
a = []
f.seek(0,0)
for columns in ( raw.strip().split() for raw in f ):
a.append(columns[c])