how to

create-dict-in-for-loop

Jan 15, 2024
langspython
1 Minutes
5 Words

dict(zip(keys, values))

dict(list(enumerate(values)))

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

Article title:create-dict-in-for-loop
Article author:Julyfun
Release time:Jan 15, 2024
Copyright 2025
Sitemap