Question: Question 1 100 pts Write a Python program that performs the following tasks: (1) create a variable my-string, and assign '12a#43a5#6a9a#32' to it. Print the

 Question 1 100 pts Write a Python program that performs the

Question 1 100 pts Write a Python program that performs the following tasks: (1) create a variable my-string, and assign '12a#43a5#6a9a#32' to it. Print the original my_string. (2) remove all '#'s from my-string using the replace method (replacing them to empty string). Update and print my string (3) Split my_string using the split method, assign the returned list to variable my list. Print my_list. Original string : 12a#43a5#6a9a#32 After replacement: 12a43a56a9a32 my list is ['12', '43', '56', '9', '32' HTML Editor Paragraph

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!