Wednesday, April 22, 2020

Answer for classes and objects

https://365datascience.com/dwqa-answer/answer-for-classes-and-objects/ -

Hi Hady, 

thanks for reaching out! The problem seems due to the fact you’ve written ‘Init’ with a capitol ‘I’.

Try the following instead:

class P(object):
    def __init__(self, name, age):



 

Best, 

Eli




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment