Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

1 byte added, 11:00, 26 May 2017
PART 1 - Understanding WHILE Loops
:'''Practice Using a WHILE Loop'''
:#Now it's time to create a new script. Make a new file called '''lab2e.py''', this script will contain a while loop. This while loop will count down from 10, print each value as it counts down. When it gets to the end it will output 'blast off!'.
13,420
edits