1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Fiesta28 [93]
4 years ago
14

Define a function drawCircle.

Computers and Technology
1 answer:
nekit [7.7K]4 years ago
4 0

Answer:

See Explaination

Explanation:

Function drawCircle

-Expect Turtle object, coordinates of the circle's center point and

circle's radius as arguments

-Function draws circle

-Draw circle's circumference by turning 3 degrees and moving a given

distance, 120 times.

-Calculate the distance moved with formula 2.0 * 3.14 * radius /120

"""

def drawCircle (turtle, centerpoint, radius):

circumference = 2 * 3.14 * (radius/120)

print "The circumference moved is", circumference

turtle.up()

(x,y) = centerpoint[-1]

turtle.turn(3)

turtle.move(120)

turtle.down()

from turtlegraphics import Turtle

turtle=Turtle()

drawCircle(turtle, [(20,20)], 20)

You might be interested in
Which of these is most often the cause of the Blue Screen of Death?
Masja [62]

D.

a device driver problem

5 0
3 years ago
What is your favorite LEGO set
alekssr [168]

Answer:

star wars death star....

4 0
3 years ago
Read 2 more answers
The transitions between slides in a presentation are one type of powerpoint ____.
slava [35]
The transitions between slides in a presentation are one of type of power point 
Animation.
Animation is a set of effects which can be applied to objects in power point  so that they will animate in the slideshow power point.motion paths allow objects to move around the slide show.
4 0
3 years ago
Complete the following sentence by choosing
Vladimir [108]

Answer:

The correct answer is Option 1: an output device.

Explanation:

A computer is an electronic machine that works according to data and instructions given to it.

The data is the input and information is the output.

Input devices are used to take input and output devices are used to display the results of processing as output.

From the given options, An output device is the one which enables the information to be viewed in easily understandable format.

Hence,

The correct answer is Option 1: an output device.

6 0
3 years ago
Read 2 more answers
The odometer gauge indicates the ________________.
kkurt [141]
<span>The odometer gauge indicates the total number of miles that a car has been driven, so the correct answer here is a. This is normally a sealed system, so that when a vehicle is sold from one party to another, the mileage driven figure can be trusted.</span>
7 0
4 years ago
Read 2 more answers
Other questions:
  • A company has decided to re-introduce a retro-radio by reproducing a product that was manufactured in the 1940s. The company has
    5·1 answer
  • By generating and delivering timely and relevant information supported by networks, _____ creates new opportunities for conducti
    15·1 answer
  • Which course must first-time drivers in Florida take to be eligible for their Learner License?
    11·1 answer
  • At what depth does an employer need to use a protection system to ensure the safety of workers in a trench or excavation?
    8·2 answers
  • Write a complete function called lowestPosition() which takes as array (of double) and the number of elements used in the array
    9·1 answer
  • Order the following routine maintenance tasks from most to least important when securing a computer. a. Verify anti-malware sett
    15·1 answer
  • A ____ is used to perform a forward-only (sequential) access of the data in the data source while a ____ is used to populate a d
    11·1 answer
  • Write a pseudocode to print the sum of first 10 terms in the series: <br> 2, 4, 9, 16, 25…
    5·1 answer
  • What is the name of the most popular American computer repair shop?
    9·2 answers
  • Whats the task of one of the computers in network called?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!