I am working on the data structures in using my jupyter notebook. When I am trying to use the list inside the Dictionary using the key, pair values. I am not able to achieve the result which I wanted. The results which I wanted are as follows:
{("math":80, 81, 20),("science":95,22,55),("english":75,90,99)}
The code which I am using is as shown below:
#data
header= ["math","science","english"]
score = [80,95,75,81,22,90,20,55,99]
#my attempt
d={}
for i in header:
print(i)
for j in score:
print(j)
The above code is not giving me the desired results. Can anyone give me a solution for it?