English, asked by Anonymous, 8 months ago

how to print two digit number in python​

Answers

Answered by nasimaakhtarratua
1

Answer:

Use str.

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.

Explanation:

Hope this will help u

PLEASE PLEASE PLEASE MARK ME AS THE BRAINLIEST

Similar questions