Find all types of basic coding here.
from tkinter import * app=Tk() app.title("Rectangle") canvas=Canvas(app) canvas.pack() canvas.config(width=400,height=400) canvas.create_rectangle(100, 100, 300, 200, outline="black", fill="", width=2) app.mainloop()
No comments:
Post a Comment