Changes

Jump to: navigation, search

OPS435 Python Lab 2

70 bytes added, 10:49, 26 May 2017
PART 1 - Understanding WHILE Loops
:#Open ipython3<source>
ipython3
</source>:#Below is a program that will count to 5. Each time the loop is run, it will add one to the count variable, increasing the variables number.<br><br>:#Issue the following at the ipython3 shell to see what happens:<source>
count = 0
while count != 5:
13,420
edits

Navigation menu