Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

20 bytes added, 09:28, 2 June 2017
PART 2 - Providing Functions With Arguments
:Functions can pass-up arguments to be used for processing. In this section, you will learn how to define functions that accept arguments and learn how to perform function calls that pass up arguments for processing (such as mathematical operations or testing conditions (eg. error-checking)).
'''Passing Up up Single and Multiple Arguments to a Function'''
:'''Perform the Following Steps:'''
:::3. Before proceeding, make certain that you identify any and all errors in lab3b.py. When the checking script tells you everything is OK before proceeding to the next step.
'''Passing up Multiple Arguments and IF Using Logic Statements'''
The next function we make in this section if going to be more advanced and contain logic inside it. First try the following to practice logic in functions.
13,420
edits