I have one array like this arr1 = ['name','age','sex']
and another array that has values of this array like val1 = ['Jone','20','male']
. Now I want to make a dict that will look like this --> val = {'name':'jone','age':'20','sex':'male'}
current I am doing that dict this way -->
val = {}
val['name'] = val1[0]
val['age'] = val1[1]
val['sex'] = val1[2]
Is there any better way to do this?