Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

1 byte added, 10:30, 2 June 2017
PART 1 - Providing Functions With Arguments
</source>
'''Create a Python Script with Using an Advanced Function'''
:'''Perform the Following Instructions:'''
:#Create the '''~/ops435/lab3/lab3c.py''' script. The purpose of the script is to make a single function that can perform addition, subtraction, or multiplication on a pair of numbers. But the function will allow us to choose exatly what operation we are performing on it when we call the function. If the operate function does NOT understand the operator given, it should return a error message.
13,420
edits