Table of Contents

Common in list

Example of common in list
x=["a","b","c","d"]
y=["d","e","f","a"]
a=0
z=len(x)
while a<z:
i=x[a]
for n in y:
if i==n:
print(n)
a=a+1