lstname=['william','zampa','bosco','John','James']
lstmarks=[75,59,80,56,43]
d={k:v for (k,v) in zip(lstname,lstmarks)}
print(d)
lstname=['william','zampa','bosco','John','James']
lstmarks=[75,59,80,56,43]
d={k:v for (k,v) in zip(lstname,lstmarks)}
print(d)
0 Comments