Deep dive in Python Decorators

In this post you will learn about python decorators,decorators with arguments and decorator chaining.So lets jump in… What is python decorators? Decorators are a way in which we can alter or change behavior of a function.As python treats everything as an object,so we can pass function to the functions and… Continue reading

While Loop–Python

While loop is one of the type of loop in python.In this tutorial,you will learn about while loop syntax,when to use it and how to use it in our programs in different ways.You will also learn about break and continue statement and how to use it with while loop. When… Continue reading

Python for loop-Explained with Examples

Good programmers never repeat their code.Repeating and Rewriting same code again and again is bad programming habit.programmers should reuse their code in order to optimize the performance of the code,and loops can be used to implement re-usability in our code.Python provides loops like while loop,for loop and do-while loop,In this… Continue reading