[lang-ref] ( example_quote_and_join ) ( python )

def test_example_quote_and_join():
    items = ['A', 'B', 'C']

    r = ', '.join([f"'{x}'" for x in items])

    assert r == "'A', 'B', 'C'"