Compare each element of list with other elements in list : <p>I have two lists </p>

<p>list 1= [Hello How are you]</p>

<p>list 2= [Hello How me you]</p>

<p>I want to compare each element of list 1 to list 2 and then change colour of elements accordingly like matched should be green and unmatched should be red. Please check below image. Output should be like this. Can anyone please tell me how can i do that ?</p>

<p><a href="https://i.stack.imgur.com/xkB3J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xkB3J.png" alt="enter image description here"></a>.</p>
