<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
I am using Python 3.3 the main code is shown in uploaded pic "Capture1". The part in the code that is apparently broken is the Postcode1 variable.
<p></p>
<div>As shown in pic "Capture2", after I have converted the entire string to a list (each letter seperated), a c is shown at the front of the list, however, this only occurs sometimes (most of the time as sometimes this does not happen) as shown in "Capture3",
 when the code loops back round this never occurs. The rest of the pics (4 and onwards) displays the rest of the code, I have also attatched the code. Thanks </div>
</div>
 <br>
<div style="border:1px dotted #003333; padding:0.8em; "><span style="font-size:12pt;  font-family: 'times new roman',serif; color:#ff0000;">Disclaimer</span>
<p style="font-size:9pt; line-height:10pt; font-family: 'times roman',serif; color:#595959; margin-top:0.5em; margin-bottom:0px;">
This email and any attachments are confidential. Unless you are the intended recipient, you may not use, copy or disclose either the message or any information contained within the message. If you are not the intended recipient, you should delete this email
 and notify the sender immediately. Any views or opinions expressed in this email are those of the sender only and not that of Stanwell School unless otherwise stated.</p>
<p style="font-size:9pt; line-height:10pt; font-family: 'times roman',serif; color:#595959; margin-top:0.5em; margin-bottom:0.5em;">
Stanwell School emails and any attachments have not been encrypted; they may therefore be liable to compromise. Please also note that it is your responsibility to scan emails and any attachments for viruses.</p>
<span style="margin-top:0.3em; font-weight:bold; color:#CC0000; font-size:10pt; font-family: 'Calibri',Arial,sans-serif; "><a href="http://www.stanwell.org">Stanwell School</a></span><br>
</div>
</body>
</html>