Python_Institute
PCAP-31-03 · Question #104
If you want to transform a string into a list of words, what invocation would you use? (Select two answers) Expected output:
Sign in or unlock PCAP-31-03 to reveal the answer and full explanation for question #104. The question stem and answer options stay visible for context.
Question
If you want to transform a string into a list of words, what invocation would you use? (Select two answers) Expected output:
Exhibit
Options
- As.split ()
- Bsplit (s, "~ "~)
- Cs.split ("~ "~)
- Dsplit (s)
Unlock PCAP-31-03 to see the answer
You've previewed enough free PCAP-31-03 questions. Unlock PCAP-31-03 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
