Question: need python language plz complete the code Problem 5 (20 points): Write a class named AIMGUI, inherits from Tk, gives the user a way to
need python language plz
complete the code
Problem 5 (20 points): Write a class named AIMGUI, inherits from Tk, gives the user a way to look at all the cars in inventory, add a car and remove a car. You must use the grid() method to align the controls You must use the functionality of the AutomobileinventoryManager from Assignment 7 in this GUIl Replicating any functionality in the GUI will lead to a significant reduction in points. You may use any code solution I showed in class. HINT: The GUI can keep track of the index of the car being viewed. Methods: -init-(self,im,parent-None): contractor. Takes in as a parameter an instance of the AutomobilelnventoryManager class. The constructor should initiate the loading of the inventory items from the file. updateUl(self): I use this method to update the labels with information about the car being shown and how many items in inventory every time a button is clicked. previous(self): Moves to the previous item in the collection of cars in inventory. Shows a message when at the beginning of the inventory items and you try to go out of bounds. next(self): Moves to the next item in the inventory. Shows a message when at the end of the items and you try to go out of bounds. remove(self): Removes the car currently being displayed from inventory. If successful, moves the Ul to the beginning of the list. addCar(self): Adds a car to inventory using the information in the edit boxes. All fields must be populated or error messages are displayed. . . Screenshots showing application behavior: Dewey, Cheatem & Howe Motors Inventory OX Dewey, Cheatem & Howe Motors Inventory Viewing automobile 1 of 4 Previous A black, buick enclave model year 2013 Next> REMOVE Make Model: Year Color Add New Car Save to File Click 'Next , Dewey, Cheatem & Howe Motors Inve...- Dewey, Cheatem & Howe Motors Inventory Viewing automobile 2 of 4 REMOVE Make Model: Year Color Add New Car Save to File Dewey, Cheatem & Howe Motors Inven....X Dewey, Cheatem & Howe Motors Inventory Viewing automobile 3 of 4 Previous A red, toyota, camry model year 1990 Net> REMOVE Make Model: Year Color Add New Car Save to File Click 'Next Dewey, Cheatem & Howe Motors Inv Dewey, Cheatem & Howe Motors Inventory Viewing automobile 4 of 4 sPrevious A Gray, VW, Passat model year 2019 Next>REMOVE Make Model: Year Color Add New Car Save to File Click 'Next Inventory o You are at the end of the list OK Click 'Remove Inventory Car removed. Moving to the front of the list OK , Dewey, Cheatem & Howe Motors Inventory - Dewey, Cheatem &Howe Motors Inventory Viewing automobile 1 of 3 REMOVE Make Model: Year Color Add New Car Save to File Chevy Nova 1976 Blu Click 'Add New Car'. Notice the count changed. Dewey, Cheatem & Howe Motors Inventory - Dewey, Cheatem & Howe Motors Inventory Viewing automobile 1 of.4 REMOVE Make Model: Year Color Add New Car Save to File from tkinter import Label, Tk, Entry, Button, END from tkinter. messagebox import showinfo class AIMGUI (Tk): Inventory Manager GuI def r-init_ (self, im, parent-None): constructor Tk. __init_ (self, parent) pass def updateUI (self): updates modt UI elements after interaction with the GUI' pass def previous (self): View the previous car in inventory pass def next (self): view the next car in inventory pass def remove (self): remove a car from inventory def addCar (self): add a automobile to inventory' pass def saveFile (self): save inventory to the file pass def make,widgets(self): add widgets to the UI pass Problem 5 (20 points): Write a class named AIMGUI, inherits from Tk, gives the user a way to look at all the cars in inventory, add a car and remove a car. You must use the grid() method to align the controls You must use the functionality of the AutomobileinventoryManager from Assignment 7 in this GUIl Replicating any functionality in the GUI will lead to a significant reduction in points. You may use any code solution I showed in class. HINT: The GUI can keep track of the index of the car being viewed. Methods: -init-(self,im,parent-None): contractor. Takes in as a parameter an instance of the AutomobilelnventoryManager class. The constructor should initiate the loading of the inventory items from the file. updateUl(self): I use this method to update the labels with information about the car being shown and how many items in inventory every time a button is clicked. previous(self): Moves to the previous item in the collection of cars in inventory. Shows a message when at the beginning of the inventory items and you try to go out of bounds. next(self): Moves to the next item in the inventory. Shows a message when at the end of the items and you try to go out of bounds. remove(self): Removes the car currently being displayed from inventory. If successful, moves the Ul to the beginning of the list. addCar(self): Adds a car to inventory using the information in the edit boxes. All fields must be populated or error messages are displayed. . . Screenshots showing application behavior: Dewey, Cheatem & Howe Motors Inventory OX Dewey, Cheatem & Howe Motors Inventory Viewing automobile 1 of 4 Previous A black, buick enclave model year 2013 Next> REMOVE Make Model: Year Color Add New Car Save to File Click 'Next , Dewey, Cheatem & Howe Motors Inve...- Dewey, Cheatem & Howe Motors Inventory Viewing automobile 2 of 4 REMOVE Make Model: Year Color Add New Car Save to File Dewey, Cheatem & Howe Motors Inven....X Dewey, Cheatem & Howe Motors Inventory Viewing automobile 3 of 4 Previous A red, toyota, camry model year 1990 Net> REMOVE Make Model: Year Color Add New Car Save to File Click 'Next Dewey, Cheatem & Howe Motors Inv Dewey, Cheatem & Howe Motors Inventory Viewing automobile 4 of 4 sPrevious A Gray, VW, Passat model year 2019 Next>REMOVE Make Model: Year Color Add New Car Save to File Click 'Next Inventory o You are at the end of the list OK Click 'Remove Inventory Car removed. Moving to the front of the list OK , Dewey, Cheatem & Howe Motors Inventory - Dewey, Cheatem &Howe Motors Inventory Viewing automobile 1 of 3 REMOVE Make Model: Year Color Add New Car Save to File Chevy Nova 1976 Blu Click 'Add New Car'. Notice the count changed. Dewey, Cheatem & Howe Motors Inventory - Dewey, Cheatem & Howe Motors Inventory Viewing automobile 1 of.4 REMOVE Make Model: Year Color Add New Car Save to File from tkinter import Label, Tk, Entry, Button, END from tkinter. messagebox import showinfo class AIMGUI (Tk): Inventory Manager GuI def r-init_ (self, im, parent-None): constructor Tk. __init_ (self, parent) pass def updateUI (self): updates modt UI elements after interaction with the GUI' pass def previous (self): View the previous car in inventory pass def next (self): view the next car in inventory pass def remove (self): remove a car from inventory def addCar (self): add a automobile to inventory' pass def saveFile (self): save inventory to the file pass def make,widgets(self): add widgets to the UI pass