0

POO Question

class Student: def _ (self, name): self.name = name test = Student("Bob") What I will put in the name of the function definition? With init doesn't serve, I need another thing

25th Nov 2020, 1:40 AM
Luis Valero Quintero
Luis Valero Quintero - avatar
3 Antworten
+ 6
Jan Markus I believe in Spanish, "POO" is used instead of "OOP", which admittedly gave me a chuckle upon first seeing this. I originally read something that made me think someone was calling OOP to be POO. 😂🤣 In English, (OOP) refers to: Object Oriented Programming In Spanish, (POO) refers to: Programación Orientada a Objetos Which would read similar in English as: Programming Oriented Objects
25th Nov 2020, 5:54 AM
David Carroll
David Carroll - avatar
25th Nov 2020, 1:45 AM
Kevin ★
+ 1
Do you mean __init__? Or you need something that is not for the initialization? btw, double check the indentation of test=Student("Bob")
25th Nov 2020, 1:49 AM
Angelo
Angelo - avatar