from tkinter import * top = Tk() top.geometry("200x150") top['bg']="#51E1DC" mb = Menubutton(top, text="Programming",bg="navy",fg="white", relief=GROOVE) mb.grid() mb.menu = Menu(mb) mb["menu"] = mb.menu mb.menu.add_checkbutton(label="C") mb.menu.add_checkbutton(label="C++") mb.menu.add_checkbutton(label="JAVA") mb.menu.add_checkbutton(label="PYTHON") mb.pack() top.mainloop()
Answers
Answered by
0
Answer:
It would display a screem with height of 200 and width of 150 and background of cyan and have a button called "Pogramming" with font color of white and background of navy and have check button of c , c++ , java ,python.
Explanation:
Similar questions