Following Printing tuple with string formatting in Python, I'd like to print the following tuple:
tup = (0.0039024390243902443, 0.3902439024390244, -0.005853658536585366, -0.5853658536585366)
with only 5 digits of precision. How can I achieve this?
(I've tried print("%.5f" % (tup,)) but I get a TypeError: not all arguments converted during string formatting).