0
Type Error: Animal() takes no argument
anytime i create an object in a class in python an error of ’() takes no argument occurs’
1 Respuesta
0
Depending on how the Animal class is defined, you are allowed (or required) to specify parameter values or not at the time of creating it.
Could you show a code example with the error?