Good resource for string formatting operators like %f?


#1

Just wondering if anyone has a good resource for reading more up on string formatting operators like %f. For example, this website below has a good table with all string formatting operators, including %f, but doesn't show that you can further modify %f to print only 2 decimals with %.2f. I'm looking for a resource that will show all the possible ways to further modify the string formatting operators.

Thanks in advance!
https://www.tutorialspoint.com/python/python_strings.htm


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.