#Convert to a dictionary in one line code using list comprehension (without using zip method)

List1 = [1,2,3,4,5,6,7,8]

List2 = ["a","b","c","d","e"]

new_dict = { List1[i]:List2[i] for i in range(len(List2))}

print(new_dict)
71082975563f8c28724715c03724e4803d64451f
<mask token>

<mask token>
print(new_dict)

List1 = [1, 2, 3, 4, 5, 6, 7, 8]
List2 = ['a', 'b', 'c', 'd', 'e']
new_dict = {List1[i]: List2[i] for i in range(len(List2))}
print(new_dict)

#Convert to a dictionary in one line code using list comprehension (without using zip method)

List1 = [1,2,3,4,5,6,7,8]

List2 = ["a","b","c","d","e"]

new_dict = { List1[i]:List2[i] for i in range(len(List2))}

print(new_dict)