Half-Day Online Pilot Workshop on AutoDock4 on 9 August 2024, 2:00 pm to 5.30 pm. Click here to register.

Conditional Statements - English

14060 visits



Outline:

if condition statement Demonstration of if statement with example if/else condition statement with example Importance of indentation in a program Usage of colon in program Condition statement using elif Examples using if/elif/else block Ternary conditional statement Difference between if/else and ternary conditional statements How to use pass statement?