Question: Please use very simple python for this question Q1) [3 points] Given the following list: data-13,6,9,12,15,18,21,24,27,30,33,36,39,62,45,41,51,54,57,60,61,66,65,72,75] Write a complete Python main function [main0] in which

Please use very simple python for this questionPlease use very simple python for this question Q1) [3 points] Given

Q1) [3 points] Given the following list: data-13,6,9,12,15,18,21,24,27,30,33,36,39,62,45,41,51,54,57,60,61,66,65,72,75] Write a complete Python main function [main0] in which you do the following 1. Write a python statement that uses the range0 function to create the above data list. 2. Using list slicing create list1 which contains all the elements 3,12,21,.75 incluaive. [Hint: do not use loops: only slicing]. 3. Create list 2 which is a copy of data. 4. Write statement(s) to remove from list 2 all the elements that are found in list1. 5. Write statements to print the contents of data, list1 and list2, each in a separate print statement and properly labeled. [Hint: properly indent your code. Use the vertical dotted lines as guides for correct indentation

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!