[Tutor] Continue Statement

2013-12-16 Thread Alina Campana
Hello dear tutorlist, I feel terribly ashamed for my bad english... Yet I'll try to form my question: It is about the continue statement in python.I wrote this code i = 0while (i 10):if i == 5: continueprint i i+=1 What i expected was an output like12346789 Instead it

Re: [Tutor] Continue Statement

2013-12-16 Thread Alan Gauld
On 16/12/13 14:12, Alina Campana wrote: Please use plain text for emails. Rich text tends to mess up the indentation as you can see below. However via the web interface I was able to see what you did so... i = 0 while (i 10): if i == 5: continue print i i+=1 Instead it seems to freeze

Re: [Tutor] Continue Statement

2013-12-16 Thread Mark Lawrence
On 16/12/2013 14:12, Alina Campana wrote: Hello dear tutorlist, I feel terribly ashamed for my bad english... Please *DO NOT* apologise for your English, it's an extremely difficult language. Yet I'll try to form my question: It is about the continue statement in python. I wrote this

Re: [Tutor] Continue Statement

2013-12-16 Thread Peter Otten
Alina Campana wrote: Hello dear tutorlist, Welcome! I feel terribly ashamed for my bad english... Yet I'll try to form my question: It is about the continue statement in python.I wrote this code i = 0while (i 10): if i == 5: continueprint i i+=1 What i expected was

Re: [Tutor] Continue Statement

2013-12-16 Thread spir
On 12/16/2013 03:12 PM, Alina Campana wrote: Hello dear tutorlist, I feel terribly ashamed for my bad english... Yet I'll try to form my question: It is about the continue statement in python.I wrote this code i = 0while (i 10): if i == 5: continueprint i i+=1 What i