Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

131 bytes added, 08:46, 26 May 2017
PART 2 - Using IF/ELIF/ELSE Statements
:#Issue the following at the ipython3 shell:<source>
a = 10
b = 1510
if a > b:
print('a is greater than b')
print('a is not less than b')
print('Therefore, a is equal to b')
</source><br><br>:#You are NOT required to create a Python script for this section or run the checking script. Proceed to the next section.
= INVESTIGATION 3: USING LOOP STATEMENTS =
13,420
edits