Home > other >  Have a great god rescue
Have a great god rescue

Time:09-20

CodePudding user response:

The class Student:

Def __init___ (self, name, sex, number) :
The self. The name=name
Self. Sex sex of=
Self. Number=number

Def study (self) :
A print (" % s % s classmates name is learning, his student number is % d "% (self. The sex, the self. The name, the self. The number))

S=Student (" Ming ", "male", "1")
S.s tudent ()

CodePudding user response:

Format,,,,,,,
  • Related