Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

12 bytes added, 18:58, 25 May 2017
INVESTIGATION 3: LOOPS
:::4. Before proceeding, make certain that you identify any and all errors in "lab2c.py". When the check script tells you everything is "ok", you may procede to the next step.
= INVESTIGATION 2: USING IF STATEMENTS =
In computer programming an "if statement" is a condition that executes different code based on whether the condition is True or False. In this section "if statements" will be used to change the way each script runs, based entirely on the output we provide.
</source>
= INVESTIGATION 3: USING LOOPS =
In programming loops are sequences of code that are repeated multiple times or until a condition is satisfied.
13,420
edits