Tag: If else in Python

  • if else in python

    The if else in Python is a part of flow control. In this section we will try to understand how the if-else block works in Python. If you are new to Python, you may visit the other beginner friendly articles in the Python Primer category. Flow control plays an important role not only in Python…

  • If else in Python

    Why do we need if-else logic or flow control in python? In short, we need this flow control or if-else logic for one single reason.  Decision making. The flow control in python is an essential part of the core language. As we progress and build different types of apps later we will find this concept…