Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

86 bytes added, 12:12, 1 August 2017
INVESTIGATION 2: USING LOGIC STATEMENTS
= INVESTIGATION 2: USING LOGIC STATEMENTS =
:In computer programming, control flow statement can be used to change the direction (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 script runs, based entirely on input (either user input, or command arguments). In this section, we will discuss several LOGIC control flow statements including: IF, and IF/ELIF/ELSE.
== PART 1 - Using IF Statements ==