Given the following program to draw a simple logo using Canvas widget from tkinter module
from tkinter import Tk, Canvas
frame=Tk()
canvas=Canvas(bg='black',height=250,width=300)
coord=(100, 100, 200, 200)
canvas.create_arc(coord,start=0,extent=90,fill='white')
canvas.create_arc(coord,start=90,extent=90,fill='blue')
canvas.create_arc(coord,start=180,extent=90,fill='white')
canvas.create_arc(coord,start=270,extent=90,fill='blue')
canvas.pack()
frame.mainloop()
The Canvas class supports more than canvas.create_arc() methods to draw arc or pieslice. Other methods include
create_line(),create_oval(),create_polygon(), create_rectangle(), and create_text(). Modify the program above to draw a rectangle and print your name with a line drawn underneath.