data- QUID: Q1) 13 points) Given the following list: 3, 6, 9, 12,15,18,21, 24, 27, 30, 35, 36, 39, 42, 45, 48,51.56.57.6

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

data- QUID: Q1) 13 points) Given the following list: 3, 6, 9, 12,15,18,21, 24, 27, 30, 35, 36, 39, 42, 45, 48,51.56.57.6

Post by answerhappygod »

Data Quid Q1 13 Points Given The Following List 3 6 9 12 15 18 21 24 27 30 35 36 39 42 45 48 51 56 57 6 1
Data Quid Q1 13 Points Given The Following List 3 6 9 12 15 18 21 24 27 30 35 36 39 42 45 48 51 56 57 6 1 (25.46 KiB) Viewed 96 times
data- QUID: Q1) 13 points) Given the following list: 3, 6, 9, 12,15,18,21, 24, 27, 30, 35, 36, 39, 42, 45, 48,51.56.57.6.6). Write a complete Python main function (main() in which you do the following 1. Write a python statement that uses the range() function to create the above data list. 2. Using list slicing create list which contains all the clements 3,12,21.....75 inclusive. [Hint: do not use loops: only slicing) 3. Create list2 which is a copy of data. 4. Write statement(s) to remove from list2 all the elements that are found in list 5. Write statements to print the contents of data, list 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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply