help with python

the images attached are the instructions, but i have been on this for days with no luck, therefore I have attached my own code as well.

import turtle

import random

z = turtle.Turtle() #global

global window

window = turtle.Screen()

dice = []

buttons = []

def drawCenterDot(z, x, y, width, dotwidth):

    z.penup()

    z.goto(x + width / 2, y – width / 2)

    z.pendown()

    z.dot(dotwidth)

def drawCornerDots(z, x, y, width, dotwidth):

    z.penup()

    z.goto(x + dotwidth, y – dotwidth)

    z.pendown()

    z.dot(dotwidth)

    z.penup()

    z.goto(x + width – dotwidth, y – width + dotwidth)

    z.pendown()

    z.dot(dotwidth)

    

def drawOtherCornerDots(z, x, y, width, dotwidth):

    z.penup()

    z.goto(x + width – dotwidth, y – dotwidth)

    z.pendown()

    z.dot(dotwidth)

    z.penup()

    z.goto(x + dotwidth, y – width + dotwidth)

    z.pendown()

    z.dot(dotwidth)

def drawSideDots(z, x, y, width, dotwidth):    

    z.penup()

    z.goto(x + dotwidth, y – width / 2)

    z.pendown()

    z.dot(dotwidth)

    z.penup()

    z.goto(x + width – dotwidth, y – width / 2)

    z.pendown()

    z.dot(dotwidth)

#Defined drawing some spicy dots 😉 

def drawDots(z, dieValue, x, y, width):

    dotwidth = width // 6

    if dieValue == 1:

        drawCenterDot(z, x, y, width, dotwidth)

    elif dieValue == 2:

        drawCornerDots(z, x, y, width, dotwidth)

    elif dieValue == 3:

        drawCenterDot(z, x, y, width, dotwidth)

        drawOtherCornerDots(z, x, y, width, dotwidth)

    elif dieValue == 4:

        drawCornerDots(z, x, y, width, dotwidth)

        drawOtherCornerDots(z, x, y, width, dotwidth)

    

    elif dieValue == 5:

        drawCenterDot(z, x, y, width, dotwidth)

        drawCornerDots(z, x, y, width, dotwidth)

        drawOtherCornerDots(z, x, y, width, dotwidth)

    

    else:

        drawCornerDots(z, x, y, width, dotwidth)

        drawOtherCornerDots(z, x, y, width, dotwidth)

        drawSideDots(z, x, y, width, dotwidth)

def drawDie(z, value, x, y, width, color=’white’):

    z.penup()

    z.goto(x, y)

    z.setheading(0)

    z.fillcolor(color)

    

    z.pendown()

    z.begin_fill()

    for _ in range(4):

        z.forward(width)

        z.right(90)

    

    z.end_fill()

    z.penup()

    drawDots(z, value, x, y, width)

def mouseClick(x,y):

    global dice

    global buttons

    print(“mouse clicked at position ” +str(x) + “,” + str(y))

    

    for button in buttons:

        count = 0

        if isWithin(x, y,button[0],button[1],button[2],button[3]) == True:

            buttonClick(count)

        else:

            count+=1

    for die in dice:

        count = 0

        if isWithin(x,y,die[1],dice[2],dice[3],dice[4]) == True:

            dieClick(count)

        else:

            count+=1

def isWithin(x, y, a, b, width, height):

    if a < x < a + width and b - height < y < b:

        return True

    else:

        return False

def buttonClick(index):

    global dice

    global z

    global buttons

    if index == 0:

        for die in dice:

            die[4] = “white”

    for die in dice:

        if die[4] == “white”:

            die[0] == random.randint(1,6)

def dieClick(index):

    global dice

    global z

    if dice[index][4] == “white”:

        dice[index][4] = “blue”

    else:

        dice[index][4] == “white”

    return drawDie(z, dice[index][0],dice[index][1],dice[index][2],dice[index][3],dice[index][4])

    

def drawRectangle(z, x, y, width, height, line_color,fill_color, Text = “None”):

    z.penup()

    z.goto(x,y)

    z.pencolor(line_color)

    z.fillcolor(fill_color)

    z.pendown()

    z.begin_fill()

    z.setheading(0)

    z.forward(width)

    z.right(90)

    z.forward(width)

    z.right(90)

    z.forward(width)

    z.right(90)

    z.forward(width)

    z.right(90)

    z.end_fill()

    z.penup()

def main():

    global dice

    global buttons

    global z

    global window

    window.bgcolor(“LightPink”)

    window = turtle.Screen()

    z = turtle.speed(0)

    turtle.hideturtle()

    width = 1000

    height = 800

    

    window.onclick(mouseClick, 1, True)

    window.onclick(buttonClick,1, True)

    turtle.mainloop()

    

    

    dice = dice + [random.randint(1,7)]

    return dice

main()

    

    

    

Speaker Notes

I have them in a WORD doc with my Speaker notes. I need bulleted speaker notes per slide can you revise the wording

5/4 Presentation

  1. Prepare a PowerPoint sales presentation that addresses the following:
    1. Give five main reasons for implementing business analytics in a client’s business operations.
    2. Select three departments in the organization that would benefit from BI, and describe what those benefits would be.
    3. Summarize how artificial intelligence could be used to enhance decision-making in the organization.
  2. You may use your own workplace, an organization researched on the internet, or the organization you have chosen for your final project.
  3. The PowerPoint presentation should be a minimum of 12 slides.
  4. Be sure to use good presentation skills, and check your grammar. The first slide should provide an introduction, and the last slide should list any references used in the presentation using APA formatting.

CPT Answer for Software Analyst

 In the space below please provide a brief explanation of how the position for which you are applying for CPT approval directly relates to your program of study. If needed, please refer to the Graduate Course Catalog on https://www.ucumberlands.edu/academics/academic-catalog. Please be sure to write clearly and legibly! 

My Study of subject is MS Information Technology.

Subject:Data Mining, Cloud Computing , Operational Excellence, Business Intelligence, Organization Leader Ship and decision making.

It should be like something attached below.

InfoSecLab

 

After completing Part A of the Lab, complete this graded written assignment for the lab:

Submit a word document containing an analysis and a summary of the completed lab (part A). The word document should contain the following elements:

  • Summary of the lab
  • Analysis of the activities performed in the lab and their importance to the course topics
  • How the lab relates to the course and current module topics
  • Related concepts from the module readings and lectures
  • At least one external reference
  • 1-3 pages in length
  • Proper APA formatting and citations
  • Minimum of 1-3 references are required
  • Screens shots are encouraged but should be included as an appendix and not part of the total page count.

Data Analytics- R (programming)

Follow the instruction. Prepare two files for each homework assignment: the .PDF file for your answers including figures to each question; the other .R file for your R script.

Assignment

Lab 5 2240….of lab 4,

 

  • Lab FIVE-04
    • Visit the following site:
    • Module 3:Problem Statement:  3.4.1.12 The Timer class. ================================================================================================Submit your Python solution through Blackboard (as explained below).
      Your lab will be graded on whether it’s been set up as a complete and workable solution.

      For your solution to be complete, your program must be able to

    • Set up your script based on the given specifications
    • compile (ie, no syntax error(s))
    • run (ie, no run-time error(s))
    • For your solution to be workable,
    • Your solution should be free of any type of errors (syntax, run-time, logic)
    • you may want to develop an algorithm first, using pseudocode
    • you do NOT need to turn in any algorithm
    • ==========================================================================================================================Grading rubric:
      • You’ll receive full credit, if 
        • your program
          • compiles and runs with no problems 
          • produces the expected output
      • You’ll receive partial credit, if 
        • your program
          • compiles and runs with no problems 
          • produces partial output (that is, incomplete output)
    • You’ll receive 25% of the points, if your program will not compile
    • You’ll receive 30% of the points, if your program compiles but has a run-time problem
    • You’ll receive 40% of the points, if your program produces logic error(s)
    • .==========================================================================================================================What to submit:
      • Your Python solution as a text file
      • A screenshot of a run of your program, showing the output
    • How to submit:
    1. Save your Python program (Lab FIVE-04) as a text file to your computer
    2. Save a screenshot of a run of your program, showing the output
    3. Click on the above link: Lab FIVE-04
    4. Locate your Python program (Lab FIVE-04 file) on your computer
    5. Locate your screenshot of the run of your program
    6. upload (that is, attach) BOTH files, under #4 and #5, to Blackboard
    7. Click on SUBMIT
    8. NOTE: You can make your submission just ONCE.  So, before making your submission, ensure that it does not need any additional editing/revisions.=====================================================================================================
  • AssignmentLab FIVE-05
    • Visit the following site:
    • Module 3:Problem Statement:  3.4.1.13 Days of the week. ================================================================================================Submit your Python solution through Blackboard (as explained below).
      Your lab will be graded on whether it’s been set up as a complete and workable solution.

      For your solution to be complete, your program must be able to

    • Set up your script based on the given specifications
    • compile (ie, no syntax error(s))
    • run (ie, no run-time error(s))
    • For your solution to be workable,
    • Your solution should be free of any type of errors (syntax, run-time, logic)
    • you may want to develop an algorithm first, using pseudocode
    • you do NOT need to turn in any algorithm
    • ==========================================================================================================================Grading rubric:
      • You’ll receive full credit, if 
        • your program
          • compiles and runs with no problems 
          • produces the expected output
      • You’ll receive partial credit, if 
        • your program
          • compiles and runs with no problems 
          • produces partial output (that is, incomplete output)
    • You’ll receive 25% of the points, if your program will not compile
    • You’ll receive 30% of the points, if your program compiles but has a run-time problem
    • You’ll receive 40% of the points, if your program produces logic =======================================================================================================================What to submit:
      • Your Python solution as a text file
      • A screenshot of a run of your program, showing the output
    • How to submit:
    1. Save your Python program (Lab FIVE-05) as a text file to your computer
    2. Save a screenshot of a run of your program, showing the output
    3. Click on the above link: Lab FIVE-05
    4. Locate your Python program (Lab FIVE-05 file) on your computer
    5. Locate your screenshot of the run of your program
    6. upload (that is, attach) BOTH files, under #4 and #5, to Blackboard
    7. Click on SUBMIT
    8. NOTE: You can make your submission just ONCE.  So, before making your submission, ensure that it does not need any additional editing/revisions.=====================================================================================================
  • AssignmentLab FIVE-06
    • Visit the following site:
    • Module 3:Problem Statement:  3.4.1.14 Points on a plane ================================================================================================Submit your Python solution through Blackboard (as explained below).
      Your lab will be graded on whether it’s been set up as a complete and workable solution.

      For your solution to be complete, your program must be able to

    • Set up your script based on the given specifications
    • compile (ie, no syntax error(s))
    • run (ie, no run-time error(s))
    • For your solution to be workable,
    • Your solution should be free of any type of errors (syntax, run-time, logic)
    • you may want to develop an algorithm first, using pseudocode
    • you do NOT need to turn in any algorithm
    • ==========================================================================================================================Grading rubric:
      • You’ll receive full credit, if 
        • your program
          • compiles and runs with no problems 
          • produces the expected output
      • You’ll receive partial credit, if 
        • your program
          • compiles and runs with no problems 
          • produces partial output (that is, incomplete output)
    • You’ll receive 25% of the points, if your program will not compile
    • You’ll receive 30% of the points, if your program compiles but has a run-time problem
    • You’ll receive 40% of the points, if your program produces logic e=========================================================================================================================What to submit:
      • Your Python solution as a text file
      • A screenshot of a run of your program, showing the output
    • How to submit:
    1. Save your Python program (Lab FIVE-06) as a text file to your computer
    2. Save a screenshot of a run of your program, showing the output
    3. Click on the above link: Lab FIVE-06
    4. Locate your Python program (Lab FIVE-06 file) on your computer
    5. Locate your screenshot of the run of your program
    6. upload (that is, attach) BOTH files, under #4 and #5, to Blackboard
    7. Click on SUBMIT
    8. NOTE: You can make your submission just ONCE.  So, before making your submission, ensure that it does not need any additional editing/revisions.=====================================================================================================
  • AssignmentLab FIVE-07
    • Visit the following site:
    • Module 3:Problem Statement:  3.4.1.15 Triangle================================================================================================Submit your Python solution through Blackboard (as explained below).
      Your lab will be graded on whether it’s been set up as a complete and workable solution.

      For your solution to be complete, your program must be able to

    • Set up your script based on the given specifications
    • compile (ie, no syntax error(s))
    • run (ie, no run-time error(s))
    • For your solution to be workable,
    • Your solution should be free of any type of errors (syntax, run-time, logic)
    • you may want to develop an algorithm first, using pseudocode
    • you do NOT need to turn in any algorithm
    • ==========================================================================================================================Grading rubric:
      • You’ll receive full credit, if 
        • your program
          • compiles and runs with no problems 
          • produces the expected output
      • You’ll receive partial credit, if 
        • your program
          • compiles and runs with no problems 
          • produces partial output (that is, incomplete output)
    • You’ll receive 25% of the points, if your program will not compile
    • You’ll receive 30% of the points, if your program compiles but has a run-time problem
    • You’ll receive 40% of the points, if your program produces logic error=======================================================================================================================What to submit:
      • Your Python solution as a text file
      • A screenshot of a run of your program, showing the output
    • How to submit:
    1. Save your Python program (Lab FIVE-07) as a text file to your computer
    2. Save a screenshot of a run of your program, showing the output
    3. Click on the above link: Lab FIVE-07
    4. Locate your Python program (Lab FIVE-07 file) on your computer
    5. Locate your screenshot of the run of your program
    6. upload (that is, attach) BOTH files, under #4 and #5, to Blackboard
    7. Click on SUBMIT