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,
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
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.
Please mail your requirement at firstname.lastname@example.org
Projects For Students
Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.
Students can mail requirement at email@example.com