[Tutor] Output of list

Emil kuffert_med_hat at hotmail.com
Sun Dec 23 01:09:42 CET 2007


hey

I want to be capable of converting a string into a list where all the items, in  the list, have a fixed length not equal to 1 e.g i have k = 'abcdefgh' and I want the fixed length for all the the items to be 2 then the list would look like ['ab', 'cd', 'ef, 'gh']. How do i do this?


- Emil   
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


More information about the Tutor mailing list