from tkinter import * langauges = Tk() listbox = Listbox(langauges) listbox.insert(1, 'Java') listbox.insert(2, 'JavaSript') listbox.insert(3, 'Python') listbox.insert(4, 'PHP') listbox.insert(5, 'C++') listbox.pack() langauges.mainloop()