Question: please show me step by step in python Task 1 - Create a list with the following contents: [1,2,3,4,5,6,7,8,9,10] - Using list slices, print out
Task 1 - Create a list with the following contents: [1,2,3,4,5,6,7,8,9,10] - Using list slices, print out the following subsets of the list. Don't modify the list! 1 to 6 3 to 7 Even numbers 9 to 5 (in reverse order) Task 2 - Using the same list from Task 1 , do the following Change the first element to 1.5 Add a new element 8.5 to the end of the list Insert the value 5.5 in between the existing elements 5 and 6 in the list Remove the existing element 10 The list is now out-of-order, so sort it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
