0 votes
by (320 points)
What is __ init __ in Python?

1 Answer

0 votes
by (320 points)
__init__ method
"__init__" is a reseved method in python classes. It is called as a constructor in object oriented terminology. This method is called when an object is created from a class and it allows the class to initialize the attributes of the class.Jan 12, 2018

Related questions

0 votes
1 answer
0 votes
0 answers
asked Dec 23, 2020 by change (180 points)
0 votes
1 answer
asked Nov 28, 2019 by python (700 points)
0 votes
1 answer
asked Nov 28, 2019 by python (700 points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 28, 2019 by google (200 points)
0 votes
0 answers
asked Jul 4, 2021 by python (700 points)
...