from tkinter import *
root = Tk()
canvas = Canvas(root, width=400, height=400)
canvas.pack()
# draw the face
canvas.create_oval(50, 50, 350, 350, fill='yellow')
# draw the eyes
canvas.create_oval(125, 125, 175, 175, fill='black')
canvas.create_oval(225, 125, 275, 175, fill='black')
# draw the mouth
canvas.create_arc(125, 225, 275, 275, extent=-180, width=5, fill='white')
root.mainloop()