Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

19 bytes added, 12:30, 26 May 2017
PART 3 - Using WHILE Loops With IF Statements
:::*The script should print the EXACT OUTPUT as shown
:::'''Sample run 1:'''<source>
run lab2g.py 5
5
</source>
:::'''Sample run 2:'''<source>
run lab2g.py 2
2
blast off!
</source>
:::23. Download the check script and check your work. Enter the following commands from the bash shell.<source>
cd ~/ops435/lab2/
pwd #confirm that you are in the right directory
</source>
:::34. Before proceeding, make certain that you identify any and all errors in "lab2d'''ab2f.py"'''. When the check script tells you everything is "ok"'''OK''', you may procede proceed to the next step.
<br><br>
13,420
edits