Home > other >  Python syntax based advanced practice
Python syntax based advanced practice

Time:10-09

Everyone a great god, please help to look at me that part of the marking, exactly how to understand? Why the place to write like that? Thank you very much!

CodePudding user response:

CodePudding user response:

Methods in the construction of the base class Student only name no default value, so at the time of object creation, must want to give a name parameter; Derived class Programmer, inherited the Student, constructor invokes the base class constructor of Student, so to give the name parameter

CodePudding user response:

refer to 2nd floor water flows Dong spreading reply:
method in the construction of the base class Student only name no default value, so at the time of object creation, must want to give a name parameter; Derived class Programmer, inherited the Student, constructor invokes the base class constructor of Student, so to give the name parameter

Thank you for your enthusiastic answer, thank you very much!
  • Related