Answers for "get string from array python"

3

take array of string in python

x = list(map(str, input("Enter the values with spaces between them: ").split()))
Posted by: Guest on October-20-2021
4

list to string python

>>> L = [1,2,3]       
>>> " ".join(str(x) for x in L)
'1 2 3'
Posted by: Guest on May-11-2020

Code answers related to "get string from array python"

Python Answers by Framework

Browse Popular Code Answers by Language