Home >>Python List Methods >Python List copy() Method
Python list copy() method is used to return a copy of the specified given input list.
Syntax:list.copy()Here is an example of Python copy() method:
fruits = ["Abhi", "Alpha", "Jerry", "Bingo"]
x = fruits.copy()
print(x)
fruits = ["Python", "Php", "Node"]
x = fruits.copy()
print(x)