Question: python 3. A student record has two fields, one is the name, the other is the birth date. The name is a string, the birth
python

3. A student record has two fields, one is the name, the other is the birth date. The name is a string, the birth date is a Date object defined in Question 1. class Student: def _init_(self, name, birth): self.name = name self. birth - birth Given this class, draw the object graph produced by the following statements. a = Date(1993, 6, 10) b = Date(1994, 1, 13) 8 = 'Luna x = Student('Tom', a) y = Student(g, 2 = Student(g, b) w = Student('Eva', z.birth) z.birth - Date(1994, 10, 8)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
