D:\Baldwin\AA-School\PyProg>python Lists04.py
Create and print a list
[100, 200, 300, 400, 500]
Original length is:
5
Replace a slice
Print the modified list
[100, 2, 4, 8, 16, 32, 64, 500]
Modified length is:
8

D:\Baldwin\AA-School\PyProg>
 

Figure 2