[Tutor] add to list

elis aeris hunter92383 at gmail.com
Sat Mar 22 22:43:51 CET 2008


    chat_window_char_definition = { "2.7.1." : "1",
                                    "2.3.3.3.3." : "2",
                                    "2.2.3.3.4." : "3",
                                    "2.2.2.7.1." : "4",
                                    "4.3.3.3.4." : "5",
                                    }

how do I automatically add to this list without doing it by hand?

Also, the list is of tuples of 2, how ever, I need to have a tuple of 3, is
that possible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080322/6fb0dd6e/attachment.htm 


More information about the Tutor mailing list