how to get only non-blank entry of list in python

33

",".join(string for string in lst if len(string) > 0)

Comments

Submit
0 Comments