I would like to print the number that under 130 with the name.
I have the data frame like this
name = ["a","b","c","d","e","f","g","h"]
h =    [125,120,135,115,115,130,145,130]
I have tried my code as
for i in h:
    if i < 130:
        un_130 = [name[i], h[i]]
        #print(i, un_130)
        print(i)
when I have printed i the results are correct
125
120
115
115
but when I tried to print with the name from print(i, un_30) the index error is came out.
any suggestion?
 
     
     
    