Answers for "draw rectangle with tkinter"

4

rectangle in tkinter

from tkinter import *

root = Tk()

c = Canvas(root)
c.pack()
c.create_rectangle(100, 100, 200, 200)

root.mainloop()
Posted by: Guest on July-01-2020

Python Answers by Framework

Browse Popular Code Answers by Language