Q.

>>>"Welcome to Python".split()

A. [“welcome”, “to”, “python”]
B. (“welcome”, “to”, “python”)
C. {“welcome”, “to”, “python”}
D. “welcome”, “to”, “python”
Answer» A. [“welcome”, “to”, “python”]
Explanation: split() function returns the elements in a list.
4k
0
Do you find this helpful?
36

Discussion

No comments yet