Sololearn: Learn to Code
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.
5th Jun 2020, 9:07 AM
Lothar
Lothar - avatar
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.)
5th Jun 2020, 9:07 AM
Noob Gamer
Noob Gamer - avatar
0
example of instance?
5th Jun 2020, 9:11 AM
CutieRei
CutieRei - avatar
0
but i cant access some class and im being redirected to basic python course
5th Jun 2020, 9:16 AM
CutieRei
CutieRei - avatar