Question: solve CHALLENGE ACTIVITY 8.8.1: Defining _str_. Write the special method _str_() for CarRecord. Sample output with input: 2009 'ABC321 Year: 2009, VIN: ABC321 Learn how

solve

CHALLENGE ACTIVITY 8.8.1: Defining _str_. Write the special method _str_() for CarRecord. Sample output with input: 2009 'ABC321" Year: 2009, VIN: ABC321 Learn how our autograder works 675918.5259130.up3xqy7 1 class CarRecord: def _init_(self): 1 test self. year_made = 0 self. car_vin = 5 # FIXME odd _str_() " Your solution goes here wu 10 my_car = CarRecord() 11 my_car . year_made = int(input()) 12 my_car .car_vin = input() 13 14 print (my_car)

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 Mathematics Questions!