+ 1
init method
https://code.sololearn.com/cqtlazPlu5vV/#py why am i getting an type error ? N cant have computer to take arguments. Did I end it up wrong?? Plz do help
4 Answers
+ 4
codemonkey when I was running the code without correcting it. Firstly I was checking the errors. It was showing that computer Don't take arguments but in your code you have given it. How is that?
+ 4
Thanks codemonkey i will remember đ
+ 2
Mani
Computer () never takes argument so you should remove the arguments firstly.you should give attributes to 'computer'.
Hope this helpsđ
+ 2
codemonkey Mani
Also a class name should start with a capital letter and it is not mandatory to have a ()
class Computer: