Find all types of basic coding here.
from tkinter import * app=Tk() app.title("Line") canvas=Canvas(app) canvas.pack() canvas.config(width=400,height=400) canvas.create_line(60,160,280,90,fill='black',width=5) app.mainloop()
No comments:
Post a Comment