On Jan 2, 3:50 pm, vsoler <vicente.so... at gmail.com> wrote: > My question is: why does this second script not stop after printing > number 3? what made the first one stop while the second one will not? First one will raise IndexError when string is over, second one won't.