Changes

Jump to: navigation, search

OPS435 Python Lab 3

7 bytes added, 03:29, 30 May 2017
PART 2 - Providing Functions With Arguments
:::*The script should contain show the exact output as the sample imports
:::*The script should contain no errors
::#3. Sample Run 1:<source>
run lab3c.py
15
Error: function operator can be "add", "subtract", or "multiply"
</source>
::#4. Sample Import 1:<source>
import lab3c
Error: function operator can be "add", "subtract", or "multiply"
</source>
:#5. Exit the ipython3 shell, download the checking script and check your work. Enter the following commands from the bash shell.<source>
cd ~/ops435/lab3/
pwd #confirm that you are in the right directory
python3 ./CheckLab3.py -f -v lab3c
</source>
:#6. Before proceeding, make certain that you identify any and all errors in lab3c.py. When the check script tells you everything is ok before proceeding to the next step. 
== PART 3 - Running System Commands with Subprocess ==
198
edits

Navigation menu