What is __init__?

By ayush goel in 22 Sep 2023 | 04:04 pm
ayush goel

ayush goel

Student
Posts: 346
Member since: 21 Sep 2023

What is __init__?

22 Sep 2023 | 04:04 pm
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

__init__ is a special method (constructor) in Python classes that is automatically called when an object of the class is created.

22 Sep 2023 | 07:13 pm
0 Likes

Report

Please describe about the report short and clearly.