- Engineering
- Computer Science
- python formating output of a float to two decimal points...
Question: python formating output of a float to two decimal points...
Question details
Python formating output of a float to two decimal points, even if they are .00 total_cost = (((quantity*100)*discount)) print("The total cost of your purchase was ",total_cost)
Solution by an expert tutor
