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.
1.6k
0
Do you find this helpful?
8

Discussion

No comments yet