Changes

Jump to: navigation, search

OPS435 Python Lab 3

45 bytes removed, 20:27, 9 August 2017
LAB OBJECTIVES
:In previous labs, you learned some programming tools in order to make your Python scripts '''more functional''' and allowed your Python script to run differently based on different data or situations. These tools included '''variables''', '''condition statements''' and '''loops'''. The utilization of these basic tools not only apply to Python scripts, but basically all programming languages including interpreted (including '''Perl scripts''', '''Bash Shell scripts''', '''JavaScript''', etc ) and compiled languages (including '''C''', '''C++''', '''Java''', etc).
:In this lab, you will learn the following tools including '''functions''', '''lists''', and '''loops''', with the primary focus on creating reusable code.
:'''<u>Objectives</u>'''
:Write Python code in order to:
:*'''Create reusable functions''' that can be imported by ipython3 or other python scripts
:*'''Using and manipulating lists''' to allow for processing a large amount of data quickly
:*'''Looping through lists''' using '''Functionsfunctions'''. Looping (iteration) is the ability for your program to repeatedly run the same code over and over. In this way, you can run a loop that contains a list to better send data to functions for better, more efficient execution of your Python script'''.
<br><br>

Navigation menu