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.

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

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
Get step-by-step solutions from verified subject matter experts
