Saved Bookmarks
| 1. |
2. Create a Python list containing elements 1, 2, 3, 4, 5, 6 in this order and change it to a list containing 1, 2, 3,3,2,1.Answer: |
|
Answer» ating a PYTHON list follow these commandsl1=[1,2,3,4,5,6] ↑this is python list with conataining ELEMENTS 1,2,3,4,5,6#MODIFICATION of python list 1,2,3,4,5,6 to 1,2,3,3,2,1l1[3:6]='3,2,1’ ↑this command is to CHANGE python list output : 1,2,3,3,2,1 |
|