« Minimal Reproducible »

Home Tags About GitHub

create-dict-in-for-loop

Published at 2024-01-15
Last update over 365 days ago Licensed under CC BY-NC-SA 4.0 langspython

dict(zip(keys, values))

dict(list(enumerate(values)))

dict([(1, 2), (2, 3)])

« Minimal Reproducible »

Powered by Astro