im so confused somebody whats the answer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

im so confused somebody whats the answer

11th Sep 2016, 11:46 AM
Mlondolozi Mest Mangena
Mlondolozi Mest Mangena - avatar
6 Answers
0
first of all whats ur question?
11th Sep 2016, 12:02 PM
Ritveak Dugar
Ritveak Dugar - avatar
0
Take rest..... Feel better..... Then post again with question..... All is well.....
11th Sep 2016, 12:38 PM
Sunil Kumar Mahich
Sunil Kumar Mahich - avatar
0
ok... i think from the tag that you have some issues with the magic methods chapter. but what exactly do you need help with? you should elaborate if you want meaningful answers.
11th Sep 2016, 11:03 PM
George Tavanidis
George Tavanidis - avatar
0
what is the magic method to create an instance
12th Sep 2016, 5:48 AM
Mlondolozi Mest Mangena
Mlondolozi Mest Mangena - avatar
0
what is an instance
14th Sep 2016, 6:07 AM
Mlondolozi Mest Mangena
Mlondolozi Mest Mangena - avatar
0
I expect you have learn the answer by now, but if not, when you call a class, the instance of the class is the first method that is executed to process variables assignment or execute basic initialization of the class before you execute other methods within the class. In Python seemingly, class instance is done at the call of a class, so the magic method to create an instance is __init__
7th Oct 2016, 6:34 AM
Emmanuel Akinpelu