<DIV>using the following program:</DIV>
<DIV> </DIV>
<DIV>fruit = "banana"</DIV>
<DIV>index = 0</DIV>
<DIV>while index < len (fruit):</DIV>
<DIV>     letter = fruit[index-1]</DIV>
<DIV>     print letter</DIV>
<DIV>     index= index -1</DIV>
<DIV> </DIV>
<DIV>this program is supposed to spell "banana" backwards and in a vertical patern...it does this....but after spelling "banana" it gives an error message:</DIV>
<DIV>refering to line 4: letter = fruit[index-1]</DIV>
<DIV>states that it is an IndexError and the string index is out of range</DIV>
<DIV>Anybody know how to fix this?</DIV><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>