Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

22 bytes added, 09:18, 26 May 2017
PART 1 - Using IF Statements
:::*The script should '''import sys'''
:::*The script should print a '''usage message''' IF additional arguments are NOT provided when running script
:::*The script should use '''sys.exit()''' (or i.e. to 'abort'script) if two additional arguments are not provided when running script
:::*The script should use a variable called '''name'''
:::*The script should use a variable called '''age'''
13,420
edits