<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,<div>I am trying to develop a python code that takes a character string as input and  finds for the occurrence of letters that are occurring thrice or more consecutively.</div><div>For E.g.</div><div><br></div><div>a = 'atttttaattaaacagagtgagcagaaaat'</div><div>In the output I want a list of those characters that are occuring thrice or more.</div><div><br></div><div>like in this case outout must b </div><div>out_put = ['<span style="font-size: 10pt; ">ttttt','aaa','</span><span style="font-size: 10pt; ">aaaa']</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">Can someone please suggest a code for this.</span></div>                                    </div></body>
</html>