Trying to find an easier way to write my code. I am using the graphics.py module.
I will add the graphics program as an attachment for anyone who does not have it or doesn't know what I am talking about.
The first program I made is archery. Just simple circles and different colors. The second one is 5 dice. I'm trying to center everything and its not finished but has the basic code. I will post the dice program after this one. Convert graphics into a py file type.
from graphics import *
def main():
win = GraphWin("Archery Target", 500, 500)
shape1 = Circle(Point(250,250), 250)
shape1.setOutline('white')
shape1.setFill('white')
shape2 = Circle(Point(250,250),200)
shape2.setOutline('black')
shape2.setFill('black')
shape3 = Circle(Point(250,250),150)
shape3.setOutline('blue')
shape3.setFill('blue')
shape4 = Circle(Point(250,250),100)
shape4.setOutline('red')
shape4.setFill('red')
shape5 = Circle(Point(250,250),50)
shape5.setOutline('yellow')
shape5.setFill('yellow')
shape1.draw(win)
shape2.draw(win)
shape3.draw(win)
shape4.draw(win)
shape5.draw(win)
win.getMouse()
win.close()
main()