formato de número de fString python
num = 10.4999
print(f"The formatted number is {num:.2f}")
# output: The formatted number is 10.49
FaceToThePalm
num = 10.4999
print(f"The formatted number is {num:.2f}")
# output: The formatted number is 10.49