Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Create a single string from all the elements in the list
Home
Python
Create a single string from all the elements in the list
0
votes
asked
May 24, 2020
in
Python
by
SakshiSharma
Create a single string from all the elements in the list
#python-single-string
#python-string
#string-python
#python-elements
#elements-python
#python-string-elements
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 24, 2020
by
Robindeniel
x = ["Madanswer", "Online", "Training"]
print(" ".join(x))
Output:
Madanswer Online Training
Related questions
0
votes
Q: What is Python String format and Python String replace?
asked
May 17, 2020
in
Python
by
SakshiSharma
#python-string
#string-python
Python-questions-answers
0
votes
Q: Define String in Python?
asked
May 16, 2020
in
Python
by
Robindeniel
#python-string
#string-python
Python-questions-answers
0
votes
Q: How will you remove duplicate elements from a list?
asked
Feb 11, 2021
in
Python
by
SakshiSharma
#python-elements
python
elements-remove
remove-duplicate-elements
Python-questions-answers
+1
vote
Q: How can a number be converted to a string?
asked
Feb 13, 2021
in
Python
by
SakshiSharma
#python-string
convert-string
number-to-string
python-number-conversion
Python-questions-answers
0
votes
Q: How can you capitalize the first letter of a string?
asked
Feb 11, 2021
in
Python
by
SakshiSharma
#python-string
string-function
python
python-captitalize-string
Python-questions-answers
0
votes
Q: In Python how do you convert a string into lowercase?
asked
Feb 11, 2021
in
Python
by
SakshiSharma
#python-string
string
string-lowercase
python-lowercase
Python-questions-answers
+1
vote
Q: Does Python have a string 'contains' substring method?
asked
Jan 10, 2021
in
Python
by
rajeshsharma
#python-string
string
python
substring
contains
Python-questions-answers
0
votes
Q: How you can convert a number to a string?
asked
Jan 1, 2021
in
Python
by
SakshiSharma
#python-string
#convet-number-to-string
Python-questions-answers
0
votes
Q: Which of the following function convert a string to a float in python?
asked
Feb 11, 2020
in
Python
by
rahuljain1
#python-string
Python-questions-answers
0
votes
Q: What Is A String In Python?
asked
Dec 14, 2019
in
Python
by
sharadyadav1986
#python-string
Python-questions-answers
...