Conditional Statements

Many a times, we want a set of instructions to be executed in one situation, and an entirely different set of instructions to be executed in another situation. This kind of situation is dealt in python programs using a decision control instruction.

In decision making structure programmer specifies one or more conditions to be evaluated or checked by the program, on the basis of result i.e. either true or false , statements get executed.

Below is the abstract representation of decision making statement ..

Python assumes any non-zero values as true , zero and None as false value.

Python handles decision-making by supporting the following statements,

       Simple if Statement    

       if-else Statement    

       if-else Ladder Statement    

       Nested if-else Statement    

Next topic is while Loop


Training For College Campus

We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies like
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.

Please mail your requirement at

Projects For Students

Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.

Students can mail requirement at

(8AM to 10PM):

+91-8527238801 , +91-9451396824

© 2017,, All rights reserved