-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Would the following change the existing code be more efficient?
>>> for name in instruments.keys():
... print('{} - {}'.format(name,
... instruments[name]))Or
>>> for name, instrument in instruments.items():
... print('{} - {}'.format(name,
... instrument))Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels