Python zip ()
languages = ['Java', 'Python', 'JavaScript']
versions = [14, 3, 6]
result = zip(languages, versions)
print(list(result))
# Output: [('Java', 14), ('Python', 3), ('JavaScript', 6)]
print(dict(result))
# Output: {'Java': 14, 'Python': 3, 'JavaScript': 6}
Evil Echidna