Stringify a list

Todd A. Jacobs nospam at codegnome.org
Wed May 16 04:54:56 EDT 2001


I have a list object that contains card values (i.e. 2-10, J, Q, K, A),
but I can't seem to print the list in such a way that it doesn't appear as
follows:

	[2, 6, 'A', 8, 'J']

I don't mind the commas, but how do I remove the quotes and brackets
without going through contortions?

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD







More information about the Python-list mailing list