Re: [Tutor] First Try 1.1

2006-02-21 Thread Alan Gauld
> I understand that the "else" is not neccessary for the program to work but > should I include it to show the end of the loop? I guess it's not > important in a program like this that has only 1 loop but maybe it makes > reading more complcated programs easier or is the indentation sufficient?

Re: [Tutor] First Try 1.1

2006-02-21 Thread Kent Johnson
John Connors wrote: > I understand that the "else" is not neccessary for the program to work > but should I include it to show the end of the loop? I guess it's not > important in a program like this that has only 1 loop but maybe it makes > reading more complcated programs easier or is the inde

[Tutor] First Try 1.1

2006-02-20 Thread John Connors
G'day, Thanks for the input on my lotto number selector program, very much appreciated and I learnt a lot. I've (hopefully) cleaned it up a little, and expanded it to write the numbers to a text file. I'm sure there must be a better way of doing it then the way I have. I understand that the