[lang-ref] ( capitalize ) ( python )

def test_capitalize():
    # capitalize
    s = 'abc def ghi'
    assert s.capitalize() == 'Abc def ghi'