Question: please can explan detail about the result in python 8. What is the output of the following list assignment aList =[4,8,12,16] aList [1:4]=[20,24,28] print(aList) [4,20,24,28,8,12,16]
8. What is the output of the following list assignment aList =[4,8,12,16] aList [1:4]=[20,24,28] print(aList) [4,20,24,28,8,12,16] [4,20,24,28]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
