1

I have a list, L1 = ['T51', 'T52']. How can convert this into T51, T52 and pass it to a variable?

martineau
  • 112,593
  • 23
  • 157
  • 280
krishna
  • 43
  • 1
  • 6

1 Answers1

8

Try the built in join method. Like so:

L1 = ['T51', 'T52'] 
string = " ,".join(L1)