I am trying to iterate through two lists and check if items in list\_1 are in list\_2. If the item in list\_1 is in list\_2 I would like to print the item in list\_2. If the item is NOT in list\_2 I would like print the item from list\_1. The below code accomplishes this partially but because I am performing two for loops I am getting duplicate values of list\_1. Can you please direct me in a Pythonic way to accomplish?

```
list_1 = ['A', 'B', 'C', 'D', 'Y', 'Z']
list_2 = ['Letter A',
          'Letter C',
          'Letter D',
          'Letter H',
          'Letter I',
          'Letter Z']

for i in list_1:
    for x in list_2:
        if i in x:
            print(x)
        else:
            print(i)

```

Current Output:

```
Letter A
A
A
A
A
A
B
B
B
B
B
B
C
Letter C
C
C
C
C
D
D
Letter D
D
D
D
Y
Y
Y
Y
Y
Y
Z
Z
Z
Z
Z
Letter Z

```

Desired Output:

```
Letter A
B
Letter C
Letter D
Y
Letter Z

```