1.

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

Answer»

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

>>> ‘,’.join(a) 

‘one,two,three’



Discussion

No Comment Found