[Tutor] Bundle help!

Sara Johnson sarliz73 at yahoo.com
Sun Jul 15 19:54:52 CEST 2007


Regarding my early question on bundle.  Not sure if this makes any sense, but I noticed where else it's used.  If this looks funny, remember that I did not write it (and therefore do not entirely understand it).  I'm only editing it according to some specific guidelines.
   
  >>>for key in h.keys():
        >>>bundle=(h[key]['TA9M'],key) #bundle is a tuple, (a list would also be ok)
        >>>if bundle[0]>0.:
                >>>allt.append(bundle)

  Thanks,
  Sara

       
---------------------------------
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070715/9ed49ee5/attachment.html 


More information about the Tutor mailing list