Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

3 bytes removed, 09:05, 20 September 2017
PART 1 - How User-Defined Functions are Declared and Run
: You will now learn how to define and run functions that will return '''string data''' when a function is called.
:Let's experiment with defining and running functions. One neat thing with using scripting languages like Python or Bash, is that you can define and run functions from the shell and call them from the shell to test them out prior to adding them into scripting script files. You will learn how to do this first in your ipython3 shell, and then incorporate them into your Python script files to run.
:'''Perform the Following Steps:'''