- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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
Advertisements