i came up with z=0 while z<= 2*pi: z=z+pi/6 print z z=z+pi/6
"while" makes alot more sense than using range i still don't know if its the most efficient way to do it this is day two with python, im pushing 30hrs straight lots of coffee and ciggarettes! So far I really like python...alot. it's so intuitive I started trying to learn c but it's lack of intuitive string handling made me shudder... so, i tried perl and it was a breath of fresh air after c. then i stumbled upon python. it's the most intuitive yet. anybody here have any experiance writing scripts for processing audio data? so, im glad python has alot of learning resources. thanks for your help alex __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor