Vidyalelo
Python · Q128

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 128

Q128

What will be the output of the following Python code? >>>"Welcome to Python".split()

A.
["Welcome", "to", "Python"]
Answer
B.
("Welcome", "to", "Python")
C.
{"Welcome", "to", "Python"}
D.
"Welcome", "to", "Python"

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board