Write a Python program to clone or copy a list.
def func(lst):
return lst.copy()
# Driver Coder
print(func([1, 10, 18, 20, 250, 250, 12]))
About Author
I am a Web Developer, Love to write code and explain in brief. I Worked on several projects and completed in no time.
View all posts by Sunil Shaw