Returning a string

Kless jonas.esp at googlemail.com
Sat Jan 3 14:20:19 EST 2009


On 3 ene, 19:12, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> Kless schrieb:
>
> > How is possible that I can print a variable, but when I use *return
> > var* it returns an empty string
>
> >http://paste.pocoo.org/show/97588/
>
> I don't see anything that indicates that the returned object is the
> empty string. Simply because there is no code testing for that. And of
> course you don't show any debugging output, which doesn't help either.
>
> Diez

Afghanistan
AF
Out[19]: u'AF'
AFG
Out[19]: u'AFG'
004
Out[19]: u'004'



More information about the Python-list mailing list