McqMate
Q. |
>>>list("a#b#c#d".split('#')) |
A. | [‘a’, ‘b’, ‘c’, ‘d’] |
B. | [‘a b c d’] |
C. | [‘a#b#c#d’] |
D. | [‘abcd’] |
Answer» A. [‘a’, ‘b’, ‘c’, ‘d’] | |
Explanation: execute in the shell to verify. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet