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