Learn Different python terminologies :
Welcome everyone, Today we will learn different python terminologies. Basically you must need to know which is basics python terminologies so Let’s start see this :
|Learn different python terminologies
List of python terminologies :
- Nested loop
- Object oriented
- List comprehension
- List length
A mutable data type is one that during the program execution it can change its value.
2. Nested loop
Always remember that nested loop refer to a loop within another loops.
An object is a collection of different methods and data.
OOP is a programming concept that is based on objects.
Parameter also denote the argument values a function can accept.
Python Methods are functions along with an objects. For example, if obj is an object and med() is its methods, we call it as obj.med().
A module is a one of the type of file consisting of Python code.
8. MRO (Method Resolution Order)
It defines the sequence in which Interpreter look for a methods in a hierarchy of class.
Lambda is a one keyword that provide you to create lambda functions.
>>> sach = lambda x, y: x + y
>>> sach(5, 6)
Now, sach is a function that take two argument and return them to sum.
A list in Python is nothing but collection of objects and this object can be of different types.
list1 = [‘Passion is love’, 2, 9.0]
11. List comprehension
For create lists in a concise manner we use list compression methods.
list1 = [i for i in range(12)]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12]
Literal are nothing but data item that have a fixed value.
13. List length
It’s show size of a list, that is, the number of elements contained in the list.
It’s loads the module that is being imported.
It’s used for iterating over a sequence i.e. dictionary, set,list, tuple, string. Python include two loops: for and while.
In this article we saw the different python terminologies. If about this section you have any query then comment please
Tags : Learn different python terminologies,List of python terminologies
If you want to learn numpy
tutorials then click on it.
BEST OF LUCK!!