End Code Function Python Format String 2