Tuesday, 17 September 2013

How Can i optimize code using collections in python?

How Can i optimize code using collections in python?

I am new to python2.6,how can i optimize the below code using collection
in python to access the item values etc.
DATA={
'item1':('name1','color1',[1,2,6]),
'item2':('name1','color1',[5,8,9])
}
Thanks hema

No comments:

Post a Comment