What is the Difference between List and Tuples?
Do you want to know the exact difference between Tuple and List in python? Well, before we talk about the
Whenever Python exists, why isn’t all the memory de-allocated?
Ans. Using ‘del’ keyword we can try to remove some particular object. But Python is a ‘garbage collector’ that means
What is monkey patching in python?
Python is a dynamic programming language and therefore the classes in python are mutable so that you can reopen them,
What do these words mean in python: *args, **kwargs? And why would we use it?
*argsThe *args keyword in python is used to pass a variable number of arguments to a function. It is
Python Coding
Your code should work even if the file is too big to fit in memory.for i in string : (i.isupper())
What are negative indexes and why are they used?
As we know, indexes are used in arrays in all the programming languages. We can access the elements of an
What are dictionaries in python?
A collection which is unordered, changeable and indexed is known as a dictionary in python. It takes two elements where
Explain split(), sub(), subn() methods of “re” module in Python.
The re module in python refers to the module Regular Expressions (RE). It specifies a set of strings or patterns
Write a sorting algorithm for a numerical dataset in Python.
Sorting refers to arranging the given data in a particular format. A sorting algorithm specifies the way to arrange data
What is the process of compilation and linking in python?
CompilationThe source code in python is saved as a .py file which is then compiled into a format known