python实现对指定字符串补足固定长度倍数截断输出的方法 简单的小练习,注意考虑全可能就行,下面是实现:#!usr/bin/envpython#encoding:utf-8'''__Author__:沂 固定长度