Question: Python 3.6 - I need help with PART B which is a CONTINUATION of PART A. I provide work for Part A. Thank you. import

Python 3.6 - I need help with PART B which is a CONTINUATION of PART A. I provide work for Part A. Thank you.

Python 3.6 - I need help with PART B which is a

import turtle def hemispheres(t, radius): #called function  t.circle(radius,360) t.left(90) t.forward(2*radius) s = turtle.Screen() aTurt= turtle.Turtle() hemispheres(aTurt, 100) #calling the function 

CONTINUATION of PART A. I provide work for Part A. Thank you.

Question 11A (6 points) Write a function named hemispheres that uses turtle graphics to draw a circle divided into two halves. The function hemispheres takes two parameters: 1. t, a turtle that is used for drawing 2. radius, an integer that is the radius of the circle The turtle t is initially on the edge of the circle at the point that the dividing line should be drawn. The function hemispheres should exit with t in its initial location and orientation. Do not make any assumptions about the initial up/down state of the turtle. The following is correct sample input and output. import turtle s = turtle . Screen() aTurt = turtle . Turtle() hemispheres(aTurt,100)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!