1,234
edits
Changes
→PART 1 - Creating a Class
== PART 1 - Creating a Class ==
:The Each object of a class that is written 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 the 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 dondoesn't run until the are made into objects.
:'''Perform the Following Steps:'''
</source>
:#Place the following content inside the new python script and save it. Read through this script and the comments inside.<source lang="python">