Convert a list | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 3
you can try also this: l=['Aravind','Krishnan'] print(' '.join(l)) # output : # Aravind Krishnan
22nd Jul 2019, 12:17 PM
Lothar
Lothar - avatar