I am simply trying to execute the following command in Python:
print("Number is", format(49000.12345,"10.2f"))
So I would like it to print out like 49,000.12 for the number.
My teacher taught us to put a comma in "10.2f"
like ",10.2f"
for the thousands separator but it's not working. Could someone please tell me the correct simple way similar to that?
Thank you