End Code Function Python Format String Padding