copy list element of key values in dictionary through python language? : I have dictionary which have multiple key and those multiple key have multiple list so i want to copy specific value for a specific key

dict1={ '1' : [1,2,3] , '2' : [4,5,6] , '3' :[7,8,9]}

output:

if key  == 1 then print 3

if key  == 2 then print 6

if key  == 3 then print 9
