+ 1
So basically i get error while adding a pet….
It says ”cant instanstiate abstract class cat(or bird or hamster) with abstract methods info Why? And how do i fix it? https://code.sololearn.com/cW5xxeVVOG7J/?ref=app
4 ответов
0
I saw your code and I am eager to use abc, but in this link:
https://docs.python.org/3/library/abc.html
is said that for constructing classes by `abc` module you should use ABCMeta instead of ABC and @abstractmethod for me should be removed and treat info() as other functions.
0
Ervis Meta - SoloHelper pet class should be abstract, i dont know any other way to make it abstract
0
It can be frustrating when you're trying to add a pet and encounter errors! Sometimes issues like incorrect information, technical glitches, or platform restrictions can cause trouble. If you're using a pet adoption website or an app, try refreshing the page or checking your internet connection. If the issue persists, reaching out to customer support might help resolve it quickly. What kind of pet are you trying to add?
https://zoospot.nl/collections/airline-approved-pet-carriers/products/reistas-hond-vliegtuig-46x28x24-klm
Reistas hond vliegtuig 46x28x28
0
Shelter pets are full of love! Many people don’t realize how many amazing animals are waiting for a home. Whether you’re looking for a playful puppy, a gentle senior dog, or a cuddly cat, there’s a perfect match for everyone. Adoption not only gives pets a second chance but also fills your home with unconditional love! Would you ever consider adopting a rescue pet?
https://www.rtk9.net/
German Shepherd Puppies for sale