-Original Message-
From: Alan Gauld
To: tutor
Sent: Wed, Sep 15, 2010 5:26 am
Subject: Re: [Tutor] Writing to Sound
"Corey Richardson" wrote
First off, here is what I'm doing. I'm taking pi (3.141592 etc. etc.
etc.), taking two values at a time, and then mapping the two values
to
-Original Message-
From: Greg
To: tutor
Sent: Fri, Sep 24, 2010 3:29 am
Subject: Re: [Tutor] Plotting a Linear Equation
On Thu, Sep 23, 2010 at 10:51 PM, Corey Richardson
wrote:
Hello tutors. Probably the wrong mailing list, but someone might know.
I want to use matplotlib (or
On Fri, 2009-09-04 at 06:18 -0700, dan06 wrote:
> I'd like to learn a programming language - and I need help deciding between
> python and ruby. I'm interesting in learning what are the difference, both
> objective and subjective, between the two languages. I know this is a python
> mailing list,
I know, I'm a total noob (started yester day)
But when I enter this code:
x = 1
if x>0:
??? a = raw_input ("Type something in...I will echo it:")
??? print a
??? x=x+1
it does not loop..am I missing something here?
___
Tutor maillist - Tutor@python.org
Hello Tutor list.
I'm running a test to find what the experimental average of a d20 is,
and came across a strange bug in my code.
import random
list1 = []
def p():
d = 0
for number in range(1,1000):
t = random.randrange(1,19)
list1.append(t)
for value in list1:
d+=v