Changes

Jump to: navigation, search

OPS435 Python Lab 2

1 byte removed, 19:04, 25 May 2017
PART 2 - Arguments
''' Practice Using Arguments '''
:#Now it's time to create a new script. Make a copy of '''lab2b.py''' and call it '''lab2c.py'''. Now modify '''lab2c.py''' so that it uses 'sys.argv[1]' and 'sys.argv[2]' instead of the input() functions. Example output is shown below:
::*The script should have a Shebang line
13,420
edits

Navigation menu