I have the following two lists.
List 1
(a,b,h,g,e,t,w,x)
List two
((a,yellow),(h,green),(t,red),(w,teal))
I want to return the following
((a,yellow),(b,null),(h,green),(e,null),(t,red),(w,teal),(x,null))
for x in List_1:
for y in list_2:
if x == y
print y
else print x, "null"
Any idea on how to do this? Thanks