Changes

Jump to: navigation, search

OPS445 Online Lab6

232 bytes added, 13:51, 6 March 2022
m
PART 1 - Creating a Class
== PART 1 - Creating a Class ==
:Each object of a class that we write in Python can contain values, 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 processed by the python interpreter. 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 get executed until they are made into objects.
 
<blockquote style="margin-left:35px;">{{Admon/note|style="padding-left:25px"|NOTE|If your professor is asking you to submit labs on GitHub, first follow their instructions on Blackboard to clone the lab6 repository.}}</blockquote>
:'''Perform the Following Steps:'''
572
edits

Navigation menu