[phpBB Debug] PHP Warning: in file [ROOT]/ext/lmdi/autolinks/event/listener.php on line 237: Undefined array key 10
[phpBB Debug] PHP Warning: in file [ROOT]/ext/lmdi/autolinks/event/listener.php on line 237: Trying to access array offset on value of type null
Answer Happy • 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
Page 1 of 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

Posted: Fri May 20, 2022 12:53 pm
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 98 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)