Create the Python code for a program that will simulate a basiccar radio with 3 presets and 5 stations to
tune in.
You will create methods (class functions) for the following:
__init__ AND __str__
seekNext
longPressPreset1 through 3
shortPressPreset1 through 3
displayLCD
You will create program functions for the following:
main
displayMenuGetOption
Additional notes:
You MUST use the program template.
Your messages and prompts should look EXACTLY like those in thesample. Duplicating all blank
lines and spacing.
You can extrapolate WHAT MUST BE DONE for each method using theattached sample run.
You may use either Public or Private instance variables, but beconsistent in your use.
Assume that the radio is in an “ON” state upon instantiation ofyour
OR
OR