The code is as follows:
import tkinter as tk plc=tk.Tk() choices=["A","B","C] choicesvar=tk.StringVar(value=choices) l=tk.Listbox(master=