asked 67.1k views
1 vote
True/False: Python formats all floating-point numbers to two decimal places when outputting using the print statement.

1 Answer

0 votes

Answer:

False

Step-by-step explanation:

The print statement in Python does not automatically format floating-point numbers to two decimal places. If you wish to do so, you will need to use the string formatting operator (%).

answered
User Rgcb
by
8.8k points