The Car.py program is an illustration of constructors and classes in Python
Constructors are used to create the instant of objects
The program written in Python is as follows:
class Car:
make = ""
model = ""
year = 0
price = 0
def __init__(self, make, model, year, price):
self.make = make.upper()
self.model = model.upper()
self.year = year
self.price = price
def display(self):
print("Make = " + str(self.make.upper()))
print("Model = " + str(self.model.upper()))
print("Year = " + str(self.year))
print("Price = " + str(self.price))
Read more about Python programs at:
https://brainly.com/question/26497128
#SPJ1