explore the internet and find out how to display a floating number to required decimal place in python
Answers
Answered by
0
Answer:
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.
PLS MARK ME AS BRAINLIEST
Similar questions