Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

8 bytes removed, 10:48, 26 May 2017
INVESTIGATION 3: USING LOOP STATEMENTS
:In the first two labs, you have been exposed to tools and methods to write powerful Python scripts. In Lab1, this included using using variables. In Lab 2 you learned how to input variables by either prompting the user for input or using data that are arguments containing within a Python script that you run. You also learned about LOGIC control-flow statements in order to make the Python script behave differently based on differing input.
:You will start to learn about now complete the second major category of control flow statements by learning how to repeat a command or a series of commands. Although, you will be learning other scripting techniques, the ability to know how to use variables, LOGIC and LOOPING control-flow statements will allow you to create useful and powerful programs to assist you when managing your computer system (including virtual machines).
== PART 1 - WHILE Loops ==
13,420
edits