class CarDemo: @staticmethod def main(): make = input("Enter the make of the car: ") model = input("Enter the model of the car: ") regNo = input("Enter the regNo of the car: ") price = input("Enter the price of the car: ") year = input("Enter the Year of the car: ") print("---------- Car Details: ----------") print("Make: " + make) print("Model: " + model) print("Registration Number: " + regNo) print("Price: $" + str(price)) print("Year: " + str(year)) CarDemo.main()