DataScience - OOPs Part 2
We now want to pass data in class, so we will have to design class in such manner.
we define inbuilt function '__init__()' which is constructor.
class karanskills1 :
def __init__( self , phone_number , email_id , student_id ) : self.phone_number = ph...
karansss.hashnode.dev2 min read