While Loop Format Python Printf Function Definition