Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

2 bytes added, 10:56, 31 May 2017
PART 2 - Providing Functions With Arguments
'''Practice Creating Functions With Return Values'''
:'''Perform the Following Instructions:'''
:#Create a new script '''~/ops435/lab3/lab3b.py''' The next script is NOT COMPLETE, your job is to make the script do what it askes. It contains 3 functions, one of adding, one for subtracting, and one for multiplying. Make sure each function performs the correct operation and returns a integer value. Create a new script '''~/ops435/lab3/lab3b.py''' with the following contents:<source>
#!/usr/bin/env python3
13,420
edits