How to get the union of two lists using list comprehension?

Consider the following lists:

a = ['Orange and Banana', 'Orange Banana']
b = ['Grapes', 'Orange Banana']

How to get the following result:

c = ['Orange and Banana', 'Orange Banana', 'Grapes']

Leave a Comment