solve 8.8.1

This commit is contained in:
Joe S 2021-02-27 12:51:15 -05:00
parent e1e8b21904
commit 7badebfecb
1 changed files with 15 additions and 0 deletions

15
8/8.8/8.8.1/main.py Normal file
View File

@ -0,0 +1,15 @@
class CarRecord:
def __init__(self):
self.year_made = 0
self.car_vin = ''
# FIXME add __str__()
def __str__(self):
return'Year: {0}, VIN: {1}'.format(self.year_made, self.car_vin)
my_car = CarRecord()
my_car.year_made = int(input())
my_car.car_vin = input()
print(my_car)