[Python Programming Basics to Advanced]: Mutable and Immutable Data Types

Pubblicato il: 01 febbraio 2021
sul canale di: Learning Orbis
892
18

This Python programming playlist is designed to take beginners with zero programming experience to an expert level. The course covers installation, basic syntax, practical scenarios, and efficient logic building. The course material includes PDF handouts, review questions, and covers a wide range of topics, from data types to advanced functions like Lambda and Recursive functions, Generators, and JSON data parsing.

In this lesson we will learn the detail about the Mutable and Immutable Data Data types and the factors for which we should be careful. We will also see the difference between Deep Copy and Shallow Copy. Moreover we will see the use of "is" operator.



Complete Playlist:
   • Python Programming Basics to Advanced  

If you have the basic programming knowledge and interested to learn Object-Oriented Programming in Python, check out this playlist:
   • Object-Oriented Programming in Python  


Review Questions:
Run this code and explain what you see on the output. Also explain how things will be changed if we have b as shallow copy of a and b as deep copy of a.

a=[1,2,3]
b=a
a.append(b)
print(a)
print(len(a))
print(a[3][3][3])

#PythonProgramming #python #pythontutorial


In questa pagina del sito puoi guardare il video online [Python Programming Basics to Advanced]: Mutable and Immutable Data Types della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Learning Orbis 01 febbraio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 892 volte e gli è piaciuto 18 spettatori. Buona visione!