Re: [Tutor] Help regarding lists, dictionaries and tuples (bob gailer)

2010-11-24 Thread Alan Gauld
"Robert Sjöblom" wrote Why would you want to sum them? You start with 30 points in the pool, then allocate them to the attributes. The sum will still be 30. Because the user should be able to spend 30 points, or remove points from an attribute and get them back in the pool. Like so: attrib

Re: [Tutor] Help regarding lists, dictionaries and tuples (bob gailer)

2010-11-23 Thread Robert Sjöblom
On Mon, Nov 22, 2010 at 10:27 AM, wrote: > Send Tutor mailing list submissions to >        tu...@python.org > [snip] >> Ok, I'm clearly thinking in circles here. I used the interpreter to >> figure out that both are fine but the first example has integers, >> whereas the second has strings. Good