Imagine a dice roller where you want to print the result with good grammar.
'You rolled a 18'
is an example of bad grammar.'You rolled an 18'
is an example of good grammar.'You rolled an 5'
would be bad grammar.
I could define a function that does a pile of if
statements but that doesn't seem Pythonic.
#ideally something like this
print(f'You rolled {a-or-an} {someint}')