Python how to make all elements on a list be of a certain length
This question already has an answer here:
>>> s = "ABCDEFGH135791011"
>>> print s[:7]
ABCDEFG
链接地址: http://www.djcxy.com/p/55122.html
This question already has an answer here:
>>> s = "ABCDEFGH135791011"
>>> print s[:7]
ABCDEFG
链接地址: http://www.djcxy.com/p/55122.html