Changes

Jump to: navigation, search

OPS435 Python Lab 3

7 bytes added, 03:31, 30 May 2017
no edit summary
print(multiply_numbers(10, 5))
</source>
 
:::*The script should have a '''Shebang line'''
:::*The script should have a function sum_numbers(number1, number2)
:::*All functions should return a integer
:::*The script should contain no errors
 ::#:2. Sample Run 1:<source>
run lab3b.py
15
50
</source>
 ::#:3. Sample Import 1:<source>
ipython3
20
</source>
:#4. 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 lab3b
</source>
:#5. Before proceeding, make certain that you identify any and all errors in lab3b.py. When the check script tells you everything is ok before proceeding to the next step.
'''Multiple Arguments and IF Statements'''
198
edits

Navigation menu