Question: Using ( Phyton ) create a farm to help Old McDonald needs help on his farm please help him catigorize all of his animals Create
Using Phyton create a farm to help
Old McDonald needs help on his farm please help him catigorize all of his animals
Create classes for all of his animals
example:
python
class Animals self:
self.name name
self.age age
class PetsAnimals:
self.friend True
self.eat False
class DogPets
self.goodboy True
self.type "type of dog"
Your program should have an input and output allowing the user to add and remove animals. Save the animals to a file Idealy a JSON File. while tempting try not to copy and paste code but actualy write it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
