# TypeError: __init__() takes exactly 1 argument (5 given)

You need to indent all the method definitions so that they are under the class.

## example

class A():

def __init__():

pass

You can learn more about indentation and how it needs to be used in Python here −

https://www.tutorialspoint.com/python_online_training/python_lines_and_indentation.asp

Published on 23-Apr-2018 02:16:47