On 3 ene, 19:40, Simon Forman <sajmik...@gmail.com> wrote: > On Jan 3, 11:20 am, Kless <jonas....@googlemail.com> wrote: > > > Afghanistan > > AF > > Out[19]: u'AF' > > AFG > > Out[19]: u'AFG' > > 004 > > Out[19]: u'004' > > What?
That's the output got from ipython. As you can see, it prints 'Afghanistan' but it can not returns it. In change, the another strings are returned. Could it be because it isn't returning the value from the recursivecall? -- http://mail.python.org/mailman/listinfo/python-list