Hello, I'm having a bit of trouble resizing/reshaping an array of strings. here's what I'm trying to do:
myString = ['hi','my','name','is','Jeff']
reshape(myString, (2,2))
What I get from this is something like:
[['h','i'],
['m','y']]
What I want is:
[['hi','my'],
['name','is']]
How might this work best?
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor