Question: In python write a function that will take a list of characters and remove line comments and multi line comments. it also must store quote

In python write a function that will take a list of characters and remove line comments and multi line comments. it also must store quote strings beginning and ending with single quotes(' ') as a single string object in the list. The multi-line comments begin with #! and end with #! and the line comments are represented by a # until the end of the line(/n).

Please comment heavily

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!