What is canvas ?
- Canvas is a geometry material thing like line, circle, rectangle etc.
- To draw a canvas like structure, many programming language like c, c++, python, java etc supports this.
from tkinter import *
#create a window screen
#create three lines at different x,y coordinate
#hold the screen
-In this program, we firslty create a canvas window inside the window screen by using canvas=Canvas(win).
-Then we create a three lines with differnt orientation with different colours and with width of 3.