Question
string = "my name is x"
for i in ' '.join(string.split()):
print (i, end=", ")
a.
m, y, , n, a, m, e, , i, s, , x,
b.
m, y, , n, a, m, e, , i, s, , x
c.
my, name, is, x,
d.
error
Posted under Python
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the output of the following?
Similar Questions
Discover Related MCQs
Suggested Topics
Are you eager to expand your knowledge beyond Python? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!
Java Programming
Level up your coding skills with our Java Programming MCQs. From object-oriented...
Cyber Security
Understand the fundamentals of safeguarding digital assets with our Cyber Security...