converting types

ian iwaters at btclick.com
Sun May 12 17:51:35 EDT 2002


hi i know its a pain answering newbie questions
that to you lot seem really simple

but how do i convert an int into a string?
the number variable errors

number = len(list)
num = "list is " + number + " long"
print num

cheers






More information about the Python-list mailing list