To format a number x to 3 digits after the decimal point, use _______.

Loading

โœช Choose the correct option.

To format a number x to 3 digits after the decimal point, use _______.

A. format(x, “5.3f”)
B. format(“5.3f”, x)
C. format(x, “5.4f”)
D. format(“5.3f”, x)

Leave a Comment