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


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

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