Given a list of integers, for example:
lst = [3,3,6,5,8,3,4,5]
I am then using list comprehension to find out at which index the number 3 appears in this list:
[i for i, x in enumerate(lst) if x == 3]
But now I cannot work out how to see if the number 3 is sitting next to another 3 and return this as True