following list: data - 13,6,9,12.15, 18.21.24.27, 30, 35, 36, 39, 42, 45, 46,51.56,57,65,63, 64, 6, 72. Write a complete

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

following list: data - 13,6,9,12.15, 18.21.24.27, 30, 35, 36, 39, 42, 45, 46,51.56,57,65,63, 64, 6, 72. Write a complete

Post by answerhappygod »

Following List Data 13 6 9 12 15 18 21 24 27 30 35 36 39 42 45 46 51 56 57 65 63 64 6 72 Write A Complete 1
Following List Data 13 6 9 12 15 18 21 24 27 30 35 36 39 42 45 46 51 56 57 65 63 64 6 72 Write A Complete 1 (32.36 KiB) Viewed 53 times
following list: data - 13,6,9,12.15, 18.21.24.27, 30, 35, 36, 39, 42, 45, 46,51.56,57,65,63, 64, 6, 72. 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 elements 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, 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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply