And the statement print(f'{numfraction:,.0f} is {fraction100}% of {num:,}') prints 15,000,000 is 50.0% of 30,000,000 because the , modifier instructs Python to use commas as thousands separators. We will introduce other modifiers as convenient later in the book.
How to understand "as convenient" here? What is the meaning of it?