Convert list of ints to list of strings


/ Published in: Python
Save to your folder(s)

Turns the list [1,2,3] to ['1','2','3']


Copy this code and paste it in your HTML
  1. map(str, [1,2,3])

URL: http://mail.python.org/pipermail/python-list/2002-September/163734.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.