Re: [Tutor] Python 3 dictionary questions

2011-11-23 Thread Peter Otten
Cranky Frankie wrote: > In playing around with Pyton 3 dictionaries I've come up with 2 questions > > 1) How are duplicate keys handled? For example: > > Qb_Dict = {"Montana": ["Joe", "Montana", "415-123-4567", > "joe.mont...@gmail.com","Candlestick Park"], > "Tarkington": ["Fran", "651-321-7657

Re: [Tutor] Python 3 dictionary questions

2011-11-23 Thread Wayne Werner
On Wed, Nov 23, 2011 at 7:04 AM, Cranky Frankie wrote: > In playing around with Pyton 3 dictionaries I've come up with 2 questions > > 1) How are duplicate keys handled? For example: > > Qb_Dict = {"Montana": ["Joe", "Montana", "415-123-4567", > "joe.mont...@gmail.com","Candlestick Park"], > "Tark

Re: [Tutor] Python 3 dictionary questions

2011-11-23 Thread Christian Witts
On 2011/11/23 03:04 PM, Cranky Frankie wrote: In playing around with Pyton 3 dictionaries I've come up with 2 questions 1) How are duplicate keys handled? For example: Qb_Dict = {"Montana": ["Joe", "Montana", "415-123-4567", "joe.mont...@gmail.com","Candlestick Park"], "Tarkington": ["Fran", "6

Re: [Tutor] Python 3 dictionary questions

2011-11-23 Thread bob gailer
On 11/23/2011 8:04 AM, Cranky Frankie wrote: In playing around with Pyton 3 dictionaries I've come up with 2 questions 1) How are duplicate keys handled? For example: Qb_Dict = {"Montana": ["Joe", "Montana", "415-123-4567", "joe.mont...@gmail.com","Candlestick Park"], "Tarkington": ["Fran", "65