Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 6

1 byte added, 00:40, 20 February 2019
PART 1 - Creating a Class
== PART 1 - Creating a Class ==
:Each object of a class that we write in Python can contain variables, functions, code, but none of the code is executed or run until the class is used to create an object. Remember that the class is a blueprint for how your object will work, the object that will be created is what will actually be running the code. This part of a class works in the same way as a function definition, the function doesn't run until it's executed, code inside classes doesn't run until the they are made into objects.
:'''Perform the Following Steps:'''
1,760
edits