Hi Everybody,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank you so much for the information on sets. I think that that has certain uses, but in my case I can&#39;t find a way. I have been thinking about sequences in a list. Let me give you an example:
<br><br>tset = [ 1,2,4,0,0,1,2,4,4]<br><br>What I want to do is detect the 1,2,4 sequence and perhaps how many.<br><br>What I have tried is <br>[1,2,4] in tset <br><br>and also<br><br>tset.count([1,2,4])<br><br>Is there a method or a function that does this in python, or am I left with DIY?
<br><br>-Thanks,<br>Tino<br><br>