I have two lists
teams = [ India, Australia, England ]
ratings = [ 12, 16, 11 ]
I want a dictionary like this
dict = { 'India':12, 'Australia':16, 'England':11}
I was trying to get it through looping elements of the first list, but I can't add two counters.
len1 = len(teams)
for x in range(1, len1):
dict1[x] = rating
print dict1
How do I create this dictionary?