Python Format Floating Point Numbers In C