My code is giving the error as TypeError: __init__() takes 2 positional arguments but 4 were given. tried searching for an extra argument but couldn’t get one. Tried previously answered questions but didn’t get any proper solution. My code is as follows: compiler gives runtime error as follows Answer Comments inside the code.