Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 3

10 bytes added, 22:10, 19 September 2019
LAB OBJECTIVES
:*'''Call built-in and user created functions''' - using the '''def''' and '''import''' keywords to create and use user defined functions, understand the '''None''' keyword, study the '''os.system()''', '''os.popen()''', and '''subprocess.Popen()''' functions
:*'''Obtain properties and manipulate list object''' - using the built-in function: len(), min(), max(), and list object methods: copy(), sort(), append(), insert(), and remove()
:*'''Looping through lists''' - Looping (iteration) is the method of using loop to process items in a list object one at a time using the same code to reduce code repetition in your Python script. This will result in a better, more efficient and effective program execution.
1,760
edits