On Mon, Mar 25, 2013 at 3:10 AM, Mark Lawrence <breamore...@yahoo.co.uk> wrote: > On 24/03/2013 15:48, Chris Angelico wrote: >> >> On Mon, Mar 25, 2013 at 2:35 AM, yahya Kacem <fuj.ty...@gmail.com> wrote: >>> >>> file named multipli: >>> >>> and file naled test: >>> >>> from multipli import table >> >> >> Try naming it multipli.py >> >> ChrisA >> > > Before or after fixing the infinite loop? :)
Before. Then you run it, see it spew text to the console, and hit Ctrl-C. Programming is iterative: once you fix one problem, you find the next. Programming is also recursive: in fixing one problem, you sometimes have to deal with others that it depends on. Programming is functional, too: you take a list of problems, apply the "Code" function to them, and keep the list of return values, which will be hopefully-working code. And programming is object-oriented... whatever you do, someone will object to it. ChrisA -- http://mail.python.org/mailman/listinfo/python-list