New course! Every coder should learn Generative AI!
Try a free lesson+ 4
An instance is an object, that is created from a class. This can be from a class written by a user, as well as from python classes. So an integer number stored in a variable is an instance from class int.
0
An instance of a class is the object that we really use in our program.
Class is a set attributes and functions while an instance is an object that uses those attributes and functions.
(I am begginer too, consider the python tutorial.)
0
example of instance?
0
but i cant access some class
and im being redirected to basic python course