Is there a better way to do this? A friend told me to avoid `else`, in order to keep the code clean, but i can't figure out another way to do this.

```
if listA[0] in listB:
    k = listA[0]
else:
    k = listB[1]

```