Question: What is output? my_string = 'What is your name?' print(my_string.split('?')) O a. [What is your name', ] O b. [What is your name', '?']

What is output? my_string = 'What is your name?' print(my_string.split('?')) O a. [What is your name',  

What is output? my_string = 'What is your name?' print(my_string.split('?')) O a. [What is your name', "] O b. [What is your name', '?'] O c. [What is your name?', "] O d. ['What', 'is', 'your', 'name', '?']

Step by Step Solution

3.39 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

This question is about the output of a Python code snippet that uses the split method on a string v... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!