why we need the () in the last line B().method..... ? so confusing | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

why we need the () in the last line B().method..... ? so confusing

31st Aug 2016, 11:15 AM
Ryu
Ryu - avatar
2 Réponses
+ 1
call function
31st Aug 2016, 4:43 PM
beauty1234
0
is like: b = B() #the class has no arguments b.method()
1st Sep 2016, 4:50 PM
Reynaldo Esparza Garcia
Reynaldo Esparza Garcia - avatar