python loop

Decorator in python

Decorator is a powerful in object oriented programming language since it allows programmers to modify the behavior of the function or class. click here to see function In decorators functions are taken as the arguments into another functions and then called inside the wrapper function Syntax for decorator In the…

Python for and while loop

loop is exactly a iteration, which means executing the same block of code over and over, potentially many times. In python we use while and for loop for repeating the process. For Loop For loop is the type of iteration to repeat the process, In python we use for and…