Build a Python program to create canvas for drawing various shapes

from tkinter import Tk, Canvas
root = Tk()
canvas = Canvas(root, width =250, height=200)
canvas.pack()
canvas.create_line(0, 0, 250, 200, fill = 'orange', dash = (5, 15))
canvas.create_rectangle(100, 50, 150, 60, fill='yellow')
canvas.create_oval(30, 30, 50, 50, fill='green')
root.mainloop()