#9 Python Tutorial for Beginners | More on Variables in Python
In this lecture we will learn:
– Variables in Python
– Memory area of variables in Python
– How to get the address of a variable?
– Garbage collection
– Data types in Python
#1
– Every variable has its address.
– In Python, the id() function is used to get the address of a variable.
– We can also assign the value of one variable to any other variable.
– In python, whenever you create multiple variables and if they have the same data then they will point towards the same box or same memory area.
– Everything is an object in Python.
– Variables are also known as tags as we tag the value with a variable.
– If the same variable store multiple values, then that variable will point towards the new memory area where the new value is get stored.
#2
– If there is any data present in the memory that is not referenced by any variable, then that will be removed from the memory by the Garbage collector.
#3
– The value of variables can be changed but the value of the constant remains the same.
– In python, we represent constants through capital letters.
– type() function is used to get the data type of value of a variable.
– Besides in-built data types, we can also create our own types.
Python for Beginners :- http://bit.ly/3JOLQhl
Java:- https://bit.ly/JavaUdemyTelusko
Spring:- https://bit.ly/SpringUdemyTelusko
Github :- https://github.com/navinreddy20/Python-
Python Tutorials for beginner : https://bit.ly/2qfhUCp
Django Tutorials : https://www.youtube.com/watch?v=SIyxjRJ8VNY&list=PLsyeobzWxl7r2ukVgTqIQcl-1T0C2mzau
Editing Machines & Monitors :
https://amzn.to/2HA6ra8
https://amzn.to/2VMBBPw
https://amzn.to/2RfKWgL
https://amzn.to/2Q665JW
https://amzn.to/2OUP21a.
Check out our website: www.telusko.com
courses.telusko.com
Instagram : https://www.instagram.com/navinreddy20
Twitter : https://twitter.com/navinreddy20
Facebook:
Telusko : https://www.facebook.com/teluskolearn…
Navin Reddy : https://www.facebook.com/navintelusko
Subscribe to our other channel:
Navin Reddy : https://www.youtube.com/channel/UCxmkk8bMSOF-UBF43z-pdGQ
Telusko Hindi : https://www.youtube.com/channel/UCitzw4ROeTVGRRLnCPws-cw
Donation & Support:
Indian Payment : https://www.instamojo.com/@NavinReddy/
PayPal Id : navinreddy20
Patreon : navinreddy20
More Learning :
Python for Beginners :- https://bit.ly/3x2g23h
Django Tutorial for Beginners :- https://bit.ly/3GyNqS6
JavaScript Tutorial for Beginners :- https://bit.ly/3NGR3ba
Node JS Tutorial for Beginners:- https://bit.ly/3N82IQy
Java Tutorial For Beginners :- https://bit.ly/3z8HWfq
Rest Api | Restful Web Service :-https://bit.ly/3axANLo
Servlet and JSP Tutorial for Beginners :- https://bit.ly/3M0FhqH
Spring Framework with Maven Tutorial :- https://bit.ly/3LWByL3
Design Patterns in Java :- https://bit.ly/3a9VjSa
Docker Basics:- https://bit.ly/38DNLqo
Blockchain Tutorial for Beginners :- https://bit.ly/3x33f0z
The Web3 Show:- https://bit.ly/3M4znF0
Corda Tutorial:- https://bit.ly/3Q2Zwrg
Hyperledger Fabric :- https://bit.ly/3PMFJfD
NoSQL Tutorial for Beginners :- https://bit.ly/3m03Ycq
Sql Tutorial for Beginners :- https://bit.ly/3GyWWEU
Mysql Tutorial :- https://bit.ly/3M4C6OK
Data Structures using Java :- https://bit.ly/3t5HPNY
Data Structures using C :- https://bit.ly/3GBLoAE
Kotlin Tutorial:- https://bit.ly/3x1kOfV
Git Tutorial for Beginners:- https://bit.ly/3NMbmUw
C Programming Tutorial :- https://bit.ly/3x4bA45
Comments are closed.