Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

134 bytes removed, 10:35, 22 January 2018
PART 2 - Using WHILE loops with script arguments
print('Therefore, a is equal to b')
</source>
#You are NOT required to create a Python script for this section or run the checking script. Proceed to INVESTIGATION 3.
<br><br>
= INVESTIGATION 3: USING LOOP STATEMENTS =
:::'''Sample run 1:'''<source>
run ./lab2f.py 10
10
9
</source>
:::'''Sample run 2:'''<source>
run ./lab2f.py 3
3
2