Learning Python: Powerful Object-Oriented Programming
Rate it:
Read between September 6, 2017 - March 16, 2024
27%
Flag icon
Patrick Boyd Palczewski
In jython 2.7.2: enumerate must be wrapped in list like 3.X Dict(enumerate(obj)) will create a dictionary using the iteration index as the key with the items as values.