MENU
Question -

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’

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×