End Code Function Python Format Float