Question: Question 3 Answer in jupyter notebook format as in ipynb format Given the class below: class Cat: species = 'mammal' def _ _ init _

Question 3 Answer in jupyter notebook format as in ipynb format
Given the class below:
class Cat:
species = 'mammal'
def__init__(self, name, age):
self.name = name
self.age = age
a) Instantiate the Cat object with 3 cats
1 mark
b) Create a function ( a function and NOT a class method) that finds the oldest cat 3 marks
c) Print out: "The oldest cat is x years old.". x will be the oldest cat age by using the function in #2
2 marks
Total number of marks for question 3=6 marks.
Total number of marks for the assignment =15 marks.
Question 3 Answer in jupyter notebook format as

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!