MCPcopy Create free account
hub / github.com/geekcomputers/Python / cloning_a_list.py

File cloning_a_list.py

cloning_a_list.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Python program to copy or clone a list
2# Using the Slice Operator
3def Cloning(li1):
4 return li1[:]

Callers

nothing calls this directly

Calls 1

CloningFunction · 0.85

Tested by

no test coverage detected