Menu
Home
AI
Machine Learning
Data Science
Python
Interview Questions
Python question of the day
Which of the following is NOT a way to shallow copy a list?
new_list = list(original_list)
new_list = original_list[:]
new_list = original_list.extend( )
new_list = [index for index in original_list]
Explanation:
What is the difference between a shallow copy and deep copy?
Top 100 python interview questions: