[Tutor] string to list

Vikram K kpguy1975 at gmail.com
Thu Aug 5 06:38:07 CEST 2010


Suppose i have this string:
z = 'AT/CG'

How do i get this list:

zlist = ['A','T/C','G']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100805/2e1dd99a/attachment.html>


More information about the Tutor mailing list