Computer Science
Out of the following, what is correct syntax to copy one list into another?
- listA = listB[ ]
- listA = listB[:]
- listA = listB[ ]( )
- listA = list(listB)
Python List Manipulation
24 Likes
Answer
listA = listB[:]
listA = list(listB)
Answered By
8 Likes