Category Archives: Python

loops in python

Python programming language provides following types of loops to handle looping requirements. Python provides three ways for executing the loops. While all the ways provide… Read More »

Python Closures

Before seeing what a closure is, we have to first understand what are nested functions and non-local variables. Nested functions in Python A function which… Read More »

Python Docstrings

What is a Docstring? Python documentation strings (or docstrings) provide a convenient way of associating documentation with Python modules, functions, classes, and methods. It’s specified… Read More »