Returning a string

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Jan 3 14:51:22 EST 2009


On Sat, 03 Jan 2009 11:46:10 -0800, Kless wrote:

> On 3 ene, 19:40, Simon Forman <sajmik... at gmail.com> wrote:
>> On Jan 3, 11:20 am, Kless <jonas.... at 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.

Maybe you should show the *input* too…

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list