Answers for "How to create a rectangle in 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

Code answers related to "How to create a rectangle in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language