Python String Format Float Precision In C