Question
Question 3: 120 marks) Given the below incomplete program that is supposed to display the following output You are requested to do the following a)
Question 3: 120 marks) Given the below incomplete program that is supposed to display the following output You are requested to do the following a) Copy the code to your editor and complete the missing lines D) Change the pen color to Black and then run the code. A screenshot for the code and the output should be provided c) we want to draw only at the circle, in which tor statement the range should be modified? NB: The for Loops are labelled. . implement parts of the question and show the result with the code as well # Missing Line 1 pencolor('purple) setpos(-100,-50) st() clear() for times in range (8): #loop 1 for section in range(5): #loop 2 forward(40) left(144) penup() forward(40) left(90) forward(60) right(90) # Missing Line 2 for section in range(4): #loop 3 # Missing Line 3 # Missing Line 4 #Missing Line 5 right(45) forward(60) pendown() ht() complete the code and run to test the output paste the code below with a screenshot of the output PYTHON Question 3: (20 marks) Given the below incomplete program that is supposed to display the following output: You are requested to do the following: a) Copy the code to your editor and complete the 5 missing lines b) Change the pen color to Black and then run the code. A screenshot for the code and the output should be provided C) If we want to draw only half the circle, in which for statement the range should be modified? N.B: The for Loops are labelled. d) Implement part of the question and show the result with the code as well. # Missing Line 1 pencolor(purple) setpos(-100,-50) st() clear for times in range (8): #loop 1 for section in range(5) #loop 2 forward(40) left(144) penup0) forward(40) left(90) forward(60) right(90) # Missing Line 2 for section in range(4): #loop 3 # Missing Line 3 # Missing Line 4 # Missing Line 5 right(45) forward(60) pendown() ht()
please solve all parts
paste answers and codes and screenshots below and thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started