class Address: def _init_(self,Hs,St,Town,Zip): self.HsNunber=Hs self.Street=St self.Town=Town self.Zip=Zip Addr=Address (7, ' high st', 'anytown', ' 123 456')
Traceback (most recent call last): File "<pyshell#151>", line 1, in< module> Addr = Address (7, 'High St', 'anytown', '123 456') TypeError: object () takes no parameters how to fix this and where I went wrong This happened to me in other coding But I skipped it,but it keeps returning! This is from a tutorial _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor