Write various python modules convert the list to generate the output “one, two, three” ? a = [‘one’, ‘two’, ‘three’]

4 views

1 Answers

> > > a = [‘one’,’two’,’three’] 

>>> ‘,’.join(a) 

‘one,two,three’

4 views