1/14
Looks like no tags are added yet.
class
a set of instructions for creating objects with shared behaviors and data
function
a block of code that performs a specific task and only runs when called upon
doc string
written under a class or a function using three quotes :’’’ ‘‘‘ to describe what the class or functions purpose
parameter
the variable that is written within the parentheses when making and defining a function
argument
the actual value inside the parentheses when calling the function
positional arguments
arguments matched to parameters in the same order they are written in the function cell
return value
is what causes the function to have an output that can be used in other code
args
a special syntax within a function used in function definitions that allows any number of positional arguments
kwargs
special syntax that is used to define a function that allows it to accept any number of named arguments
instance
a specific object created from a class
attribute
is a varibale/value associated with an instance
method
a function that is within a class
__init
a special method that python automatically runs when a new instance is made from a class, it is needed because it immediately assigns an objects initial state and data
self
required first parameter in instance methods that refer to the specific instance being accessed
inheritance
making a new class that takes on attributes and methods from a pre-exsisting class