1
How do I transform an element like this:
lista = [testando, este, aplicativo]
on a list like this:
lista = [testando este aplicativo]
Someone knows how to do this, and if it is possible to do this with the Python language??
1
How do I transform an element like this:
lista = [testando, este, aplicativo]
on a list like this:
lista = [testando este aplicativo]
Someone knows how to do this, and if it is possible to do this with the Python language??
2
Complementing the solution of camillaBim:
lista = ["testando", "este", "aplicativo"]
texto = (' ').join(lista)
print(texto)
Browser other questions tagged python string list
You are not signed in. Login or sign up in order to post.
if it is a list of
string
you can use the methodjoin()
to concatenate into a singlestring
– Shinforinpola
That’s just what I needed, thanks!
– Sbim
Place lists inside dictionaries.
– Dennis Py