Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

8 bytes added, 10:06, 26 May 2017
PART 2 - WHILE Loops with Arguments
:::'''Input / Output / Processing Requirements'''
:::*The script should have a Shebang line
:::*The script should use a variable named timer with a value of 10
:::*The script should have a while loop that repeats until timer equals 0
:::*The script should print the EXACT OUTPUT as shown
 
:::'''Sample run:'''<source>
run lab2e.py
:::3. Before proceeding, make certain that you identify any and all errors in '''lab2e.py'''. When the check script tells you everything is '''OK''', you may proceed to the next step.
== PART 2 - Using WHILE Loops with Arguments ==
''' Understand While Loops and Arguments '''
13,420
edits