Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 2

52 bytes added, 12:43, 12 September 2019
INVESTIGATION 2: USING CONDITIONAL STATEMENTS
= INVESTIGATION 2: USING CONDITIONAL STATEMENTS =
:In computer programming, control flow statement can be used to change the direction execution path (flow) of a program. The [https://en.wikipedia.org/wiki/Flowchart diagram here] may help you visualize it. In this section, you will focus on LOGIC control flow statements that are used to change the way each statement in a script runs, being executed. The flow may be based entirely on input data (either via the input() function, or command arguments via the list object sys.argv)provided by the user. In this section, we will discuss several LOGIC control flow statements including: IF, and IF/ELIF/ELSE.
== PART 1 - Using IF Statements ==
1,760
edits