why in returns values for array and keys for dictionary

++imanshu himanshu.garg at gmail.com
Mon Aug 25 20:49:10 EDT 2008


Hi,

    Wouldn't it be nicer to have 'in' return values (or keys) for both
arrays and dictionaries. Arrays and Dictionaries looked so similar in
Python until I learned this difference.

Thanks,
++imanshu



More information about the Python-list mailing list