Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #script by python_games
- from tkinter import *
- from time import sleep
- w = Tk()
- w.title("python_games alien!")
- c = Canvas(w, height=300, width=400)
- c.pack()
- body = c.create_oval(100, 150, 300, 250, fill='green')
- eye = c.create_oval(170, 70, 230, 130, fill='white')
- eyeball = c.create_oval(190, 90, 210, 110, fill='black')
- mouth = c.create_oval(150, 220, 250, 240, fill='red')
- neck = c.create_line(200,150,200,130)
- hat = c.create_polygon(180,75,220,75,200,20,fill='blue')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement