Tagged: conditional operator


C – If Else , Switch, Decision Making

Conditions or Decisions making is one of the most important aspect of programming languages. Actual programming logic is implemented in the decisions. According to decisions the application will be branched and expected results or operations will be accomplished. There are 3 main decision making mechanisms. We will look in details below....


Python If-Elif-Else Multiple Conditionals Like And , Or

We have already looked if-elif-else statements in previously. if-elif-else requires conditions in order evaluate. These conditions may simple True , False or comparisons. The other way is we can define complex conditionals in order to evaluate. Simple Conditions Simple conditions are just single statement conditions where we do not need grouping or multiple or ,...


Python Conditionals Like Greater, Lower, Equal Operators Examples

Python provides some conditionals to compare two python data or variables. We can compare same or similar variables and data then we will get result which present the comparison result. The comparison results will be true or false . In this tutorial we will look most popular comparison operations in python. Less...

Enjoy this blog? Please spread the word :)