structure in Python

Alberto Vera avera at coes.org.pe
Mon Oct 20 19:13:48 EDT 2003


Hello:
I have the next structure:
[key1,value1,value2]

['A',1,5]
['B',6,7]

How Can I make it using Python?

How Can I update the value of 6?
How Can I insert a key called "C" and its values?
How Can I delete a key called "B"?
How Can I search a key called "A"(parameter) and get its values?

Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20031020/fa8831b0/attachment.html>


More information about the Python-list mailing list