Convert a list | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Convert a list

How to convert a list of different strings into one string in python?

22nd Jul 2019, 10:58 AM
Aravind Krishnan
Aravind Krishnan - avatar
1 Antwort
+ 3
you can try also this: l=['Aravind','Krishnan'] print(' '.join(l)) # output : # Aravind Krishnan
22nd Jul 2019, 12:17 PM
Lothar
Lothar - avatar