[Tutor] int to string

Tom Tucker tktucker at gmail.com
Sat Mar 22 02:39:58 CET 2008


>>> y = 3
>>> type(y)
<type 'int'>
>>> x = str(y)
>>> type(x)
<type 'str'>


On Fri, Mar 21, 2008 at 8:05 PM, elis aeris <hunter92383 at gmail.com> wrote:

> how do I convert int to string?
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080321/5a1d481a/attachment-0001.htm 


More information about the Tutor mailing list