explore the internet and find out how to display a floating number to required decimal place in python
Answers
Answered by
1
Explanation:
Use str. format() to print a float with two decimal places
Call str. format(number) with "{:. 2f}" as str and a float as number to return a string representation of the number with two decimal places.
Plz mark me as a brainliest member Thanq
Similar questions