- write set of python classes that can simulate an internet application in which one partyaliceis periodically creating set of packets that she wants to send to bob an internet process is continually checking if alice has any packets to sendand if soit delivers them to bob' computerand bob is periodically checking if his computer has packet from aliceandif sohe reads and deletes it - write python program to simulate an ecosystem containing two types of creaturesbears and fish the ecosystem consists of riverwhich is modeled as relatively large list each element of the list should be bear objecta fish objector none in each time stepbased on random processeach animal either attempts to move into an adjacent list location or stay where it is if two animals of the same type are about to collide in the same cellthen they stay where they arebut they create new instance of that type of animalwhich is placed in random empty ( previously nonelocation in the list if bear and fish collidehoweverthen the fish dies ( it disappearsp- write simulatoras in the previous projectbut add boolean gender field and floating-point strength field to each animalusing an animal class as base class if two animals of the same type try to collidethen they only create new instance of that type of animal if they are of different genders otherwiseif two animals of the same type and gender try to collidethen only the one of larger strength survives - write python program that simulates system that supports the functions of an -book reader you should include methods for users of your system to "buynew booksview their list of purchased booksand read their purchased books your system should use actual bookswhich have expired copyrights and are available on the internetto populate your set of available books for users of your system to "purchaseand read - develop an inheritance hierarchy based upon polygon class that has abstract methods areaand perimeterimplement classes trianglequadrilateralpentagonhexagonand octagon that extend this base classwith the obvious meanings for the areaand perimetermethods also implement classesisoscelestriangleequilateraltrianglerectangleand squarethat have the appropriate inheritance relationships finallywrite simple program that allows users to create polygons of the various types and input their geometric dimensionsand the program then outputs their area and perimeter for extra effortallow users to input polygons by specifying their vertex coordinates and be able to test if two such polygons are similar