[Fixed]-Create a list of first letters from a list of words

1👍

Just do the truncation in your python script:

first_char_list = [x[0] for x in com_list if len(x)]

this will produce list of characters (without the ..., you are cutting it anyway) and just pass it to render. this will also simplify your html (you can just use {{i}}

Leave a comment