Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Tank 1: Tetra Alvin orange 1.5 Guppy Simon gray 2.2 Oscar Theodore blue 1.0 Cichlid Bart yellow 1.7 Barb Lisa green 3.1 Goldfish Homer yellow

image text in transcribed

image text in transcribed

Tank 1:

Tetra Alvin orange 1.5 Guppy Simon gray 2.2 Oscar Theodore blue 1.0 Cichlid Bart yellow 1.7 Barb Lisa green 3.1 Goldfish Homer yellow 4.1 Gourami Marge red 1.2 Mollie Maggie pink 1.0 Cichlid Ned gray 2.4 Barb Maude orange 2.9 Gourami Krusty white 1.1 Cichlid Bob green 2.5

tank 2:

Barb Zippy yellow 2.3 Goldfish Sparky green 2.0 Barb Itchy white 2.0 Cichlid Scratchy black 2.1 Mollie Manny green 3.2 Gourami Moe yellow 3.1 Gourami Jack white 1.7 Goldfish Dexter blue 1.2 Gourami Rob black 2.4 Tetra Eddie yellow 2.2 Mollie Jesse gray 3.2 Cichlid Dave gray 2.2 Guppy Danny yellow 1.6 Gourami Billy yellow 1.4 Mollie Mary gray 1.4 Oscar Sue red 2.7 Mollie Barbara yellow 3.1 Oscar Dinah orange 2.6 Oscar Ellen gray 2.2 Guppy Joan yellow 3.0

tank 3:

Tetra Mario black 1.7 Mollie Luigi white 2.8 Guppy Peach orange 1.4 Guppy Toad red 3.0 Mollie Bowser yellow 2.2 Barb Koopa black 2.0 Gourami Link black 2.5 Mollie Zelda green 3.3 Cichlid Luke orange 3.3 Tetra Leia red 1.6 Mollie Anakin green 2.7 Cichlid Obi-Wan orange 3.2 Oscar Yoda yellow 3.1 Gourami Han blue 3.2 Oscar Chewbacca orange 1.8 Oscar Lando gray 1.4 Oscar Clara blue 3.2 Mollie Jane black 1.3 Tetra Emily orange 1.8

python

1. Start by completing the Fish class, which will represent a single fish in our aquarium. Every Fish has four attributes, species, its color, and its weight in ounces. A Fish also has the represented as instance variables: its name, its following methods (with the following headers): init (self, name, species, color, weight) This method creates four new instance variables for the current Fish, and assigns them the values of the last four method parameters. Remember that an instance variable's name is always preceded by "self.", as in self.myData. repr (self) This method returns a string representing the current Fish. This string should include a crude fish symbol ((Bi11, red Gourami)\t (Ted, yellow Goldfish)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions