<prompt> Phapano ke efe lipakeng tsa kopi e sa tebang le kopi e tebileng ho Python?nan  <response>: Instruction in English: What is the difference between a shallow copy and deep copy in Python? . Response in English: A shallow copy and a deep copy are two ways that Python can create a copy of an existing object. These two types of copies differ in the way they handle mutable objects like lists or dictionaries.A shallow copy creates a new object, but it only makes a copy of the top-level elements of the original object. If the original object contains other mutable objects, like lists or dictionaries, the shallow copy will still reference the same sub-objects. This means that changes made to the sub-objects in either the original or the new copy will be reflected in both objects.In contrast, a deep copy creates a new object as well, but it also makes a complete copy of all the elements in the original object, including any nested mutable objects. This means that changes to the sub-objects in either the original or the new copy will not affect the other object.In short, the difference between a shallow copy and a deep copy is that a shallow copy only copies the top level elements of an object, while a deep copy creates a completely separate copy of the original object, including all sub-objects. . Response in Sesotho: Kopi e sa tebang le kopi e tebileng ke litsela tse peli tseo Python e ka etsang kopi ea ntho e teng. Mefuta ena e meli ea likopi e fapana ka tsela eo e sebetsanang le lintho tse feto-fetohang joalo ka manane kapa lidikishinari. Kopi e sa tebang e theha ntho e ncha, empa e etsa feela kopi ea likarolo tsa boemo bo holimo tsa ntho ea mantlha. Haeba ntho ea mantlha e na le lintho tse ling tse ka fetolehang, joalo ka manane kapa lidikishinari, kopi e sa tebang e ntse e tla bua ka lintho tse nyane tse tšoanang. Sena se bolela hore liphetoho tse entsoeng ho lintho tse nyenyane ho ea pele kapa kopi e ncha li tla bonahala linthong tseo ka bobeli. Ka lehlakoreng le leng, kopi e tebileng e etsa ntho e ncha hape, empa e boetse e etsa kopi e feletseng ea likarolo tsohle tsa ntho ea pele, ho kenyelletsa le lintho leha e le life tse feto-fetohang. Sena se bolela hore liphetoho ho lintho tse nyane ho kopi ea mantlha kapa e ncha li ke ke tsa ama ntho e ngoe. Ka bokhutšoanyane, phapang pakeng tsa kopi e sa tebang le kopi e tebileng ke hore kopi e sa tebang e kopitsa feela likarolo tsa boemo bo holimo ba ntho, ha kopi e tebileng e etsa kopi e fapaneng ka ho feletseng ea ntho ea pele, ho kenyelletsa le lintho tsohle tse nyenyane. 