For example i know that if i wanted to have 3 decimal places on a number, i could do:
print(f"Total coins: {totalCoins:.3f}")
but if i had 1,000,000.000 coins, how can i get the commas separators in there too?
you just include the comma as well. {totalCoins:,.3f} will work.