-
Notifications
You must be signed in to change notification settings - Fork 0
bparrish206/Art
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Art === import Gui3 def main(): win = Gui3.Gui() title = input('what should we call this work of art?') win.title(title) width = int(input('How wide would you like it to be?')) ht = int(input( 'How tall would you like it to be?')) size = width canvas = win.ca(size + 50, ht + 50) canvas.rectangle([[-size/2, -ht/2], [size/2, ht/2]], fill='yellow' ) canvas.oval([[-size/2, -ht/2], [size/2, ht/2]], fill='green' ) canvas.polygon([[-size/2, 0], [0, ht/2], [size/2, 0], [0, -ht/2]], outline='black', fill='white') win.mainloop() main()
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published