Changes

Jump to: navigation, search

OPS435 Python Lab 3

3 bytes added, 10:08, 2 June 2017
PART 1 - How User-Defined Functions are Declared and Run
:Functions may be designed '''not to accept arguments or return a value''', designed to '''not accept arguments but not return a value''', designed to '''accept arguments and not return a value''', or designed to '''both accept arguments and return a value'''. In this investigation, will will focus of creating functions that either do NOT return a value, or return a value.
 
'''Functions and Strings'''
::Make notes for all of your observations in your lab log book, and proceed to Part 2.
 
== PART 2 - Creating a Python Script with Functions and Importing Functions ==
Make notes for all of your observations in your lab log book, and proceed to INVESTIGATION 3.
= INVESTIGATION 3 - : USING LISTS =
Lists are ones of the most powerful data-types in Python. A list is a series of comma separated values found between square brackets. Values in a list can be anything: strings, integers, objects, even other lists. In this section we will introduce lists and how to use them effectively, we will come back to lists again in later labs.
13,420
edits

Navigation menu