"Fiyawerx" <[EMAIL PROTECTED]> wrote
> list1 = ['one', 'two', 'three']
> list2 = ['one', 'two', 'four', 'five']
> list3 = ['two', 'three', 'six', 'seven']
> list4 = ['three', 'five', 'six']
>
> I need to be able to get along the lines of output:
> Element 'one' contained in list1 and list2
> El
x27;]
> > list2 = ['one', 'two', 'four', 'five']
> > list3 = ['two', 'three', 'six', 'seven']
> > list4 = ['three', 'five', 'six']
> > https://mail.google.com/mai
#x27;two', 'four', 'five']
> list3 = ['two', 'three', 'six', 'seven']
> list4 = ['three', 'five', 'six']
> https://mail.google.com/mail/#label/Pythontutor/117aadf8364dbf3b
Gmail - [Tutor
I have been able to find a few articles on comparing 2 lists, but I have 4
lists that I need to compare. I need to find any repeated elements and the
list that they came from. For example,
list1 = ['one', 'two', 'three']
list2 = ['one', 'two', 'four', 'five']
list3 = ['two', 'three', 'six', 'seven