[Tutor] List append method: St Petersburg Game

2010-02-20 Thread AG
Hi Pythonistas I am having difficulty with applying the list.append(x) method to produce a list that will contain outputs which will become coordinates for a later call to Matplotlib. Perhaps someone here can help me figure this out? The basic program is below: # St Petersburg Game: v. 2:

Re: [Tutor] List append method: St Petersburg Game

2010-02-20 Thread bob gailer
On 2/20/2010 7:43 AM, AG wrote: Hi Pythonistas I am having difficulty with applying the list.append(x) method to produce a list that will contain outputs which will become coordinates for a later call to Matplotlib. Perhaps someone here can help me figure this out? Please let me know how

Re: [Tutor] List append method: St Petersburg Game

2010-02-20 Thread AG
bob gailer wrote: On 2/20/2010 7:43 AM, AG wrote: snip Please let me know how I can clarify my question 1 - You are giving way too much information. We do not need to know the rules of the game or all the code. Our time to read email is limited. The less you tell us that is not relevant