[Solved] I am new to classes in python the compile showing error segmentation() takes no arguments [closed]

[ad_1]

The problem is that you did not define constructor properly. Constructor is __init__(double underscore) not _init_(single underscore). Just change it and it should solve your problem

1

[ad_2]

solved I am new to classes in python the compile showing error segmentation() takes no arguments [closed]