import tkinter

# Create the main window
root = tkinter.Tk()
root.title("UFO")

# Create a canvas widget
canvas = tkinter.Canvas(root, width=400, height=300)
canvas.pack()

# Draw the UFO
canvas.create_oval(50, 100, 350, 200, fill='silver')  # Main body
canvas.create_oval(150, 50, 250, 150, fill='gray')    # Cabin

# Draw lights on the UFO
for x in range(100, 300, 50):
    canvas.create_oval(x, 160, x+20, 180, fill='yellow')

# Draw a beam coming out of the UFO
canvas.create_polygon(200, 200, 150, 300, 250, 300, fill='light blue', stipple='gray25')

# Run the Tkinter event loop
root.mainloop()
