198
edits
Changes
→PART 3 - WHILE LOOPS WITH IF STATEMENTS
== PART 3 - WHILE LOOPS WITH IF STATEMENTS ==
''' lab2g Practice Using Loops With IF Statements '''
:#Now lets make the same script EVEN more intelligent. Make a copy of '''lab2f.py''' and call it '''lab2g.py'''. Now modify '''lab2g.py''', add a if statement to the script that checks to see if a argument was entered. If a argument was entered use that number for the timer, if no argument was entered, timer should equal 3.