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
White raven [17]
3 years ago
6

Define a function drawCircle. This function should expect a Turtle object, the coordinates of the circle’s center point, and the

circle’s radius as argu- ments. The function should draw the specified circle. The algorithm should draw the circle’s circumference by turning 3 degrees and moving a given distance 120 times. Calculate the distance moved with the formula 2.0 * p * radius / 120.0
Computers and Technology
1 answer:
ololo11 [35]3 years ago
7 0

Answer and Explanation:

As the function contain Turtle Object, and coordinates of the circle center points and radius.

def draw Circle (turtle obj, center-point, radius):

>>>Circumference at 120 distance

   circumference = 2 * 3.14 * (radius/120)

>>>call the turtle method

 turtle.up()

>>>as the coordinates point x and y is at -1 position.

(x,y) = center point[-1]

   turtle.turn

>>>>as turtle moving given distance of 120

turtle.moving(120)

turtle.down()

turtle=Turtle()

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

You might be interested in
Which best described most television in the 1940s and 1950s? color cable 24 hour black and white
Semenov [28]

Answer:

The answer is "black and white".

Explanation:

During this period of live TV output in the United States, from the late 1940s to late 1950, the era between the 1940s and 1950s is often regarded as the first Golden Age of Television.  

It is the monochrome broadcast tv signal transmission and reception system. At the end of the 1940s, in 50 major cities, there were 98 commercial tv channels. TV sets costs also reduced by 1949.

8 0
3 years ago
A/an ________is a device used to protect computers against surges and spikes in power.
givi [52]

Answer:

1. Surge protector.

2. Power-saving mode.

3. Hardware and software.

4. Hard disk.

5. Eject.

Explanation:

1. A surge protector is a device used to protect computers against surges and spikes in power.

2. Sleep and Hibernate are examples of Power-saving modes.

3. Regular maintenance on a computer is good for both hardware and software.

4. Bad sectors are sections of the hard disk that are physically damaged.

5. To protect some devices such as flash drives and external hard drives from corruption, it is best to eject the devices.

7 0
3 years ago
A(n) _____ allows a user to choose specific files to back up, regardless of whether or not the files have been changed.
Anna35 [415]
<span>A selective backup allows a user to choose specific files to back up, regardless of whether or not the files have been changed.</span>
7 0
3 years ago
When you use the Query Editor to run a query that returns an xml type, theManagement Studio displays the XML data in blue with u
Ad libitum [116K]
Answer is c hope this helps
6 0
3 years ago
During an engine's intake stage, what passages inside the cylinder head of a gasoline powered engine must the incoming air-and-f
kow [346]
The intake ports must be open to allow fuel and oxygen to enter cylinder, then closes during compression. Your answer is A.
3 0
3 years ago
Other questions:
  • A student is searching through a large box of unused cables and connectors in the classroom. The student finds a ribbon with con
    14·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    9·1 answer
  • Modern car odometers can record up to a million miles driven. What happens to the odometer reading when a car drives beyond its
    8·1 answer
  • You work in the educational software industry. Your boss asks you to give a brief lecture to other employees about the digital d
    7·2 answers
  • To move to the beginning of the line with the keyboard, press the _______ key(s).
    6·1 answer
  • A firm can survive and succeed in the long run if it successfully develops strategies to confront the _______________ that shape
    9·1 answer
  • Network administrators use _______ technology to get antivirus updates to be automatically downloaded on employees' workstations
    15·1 answer
  • A laptop has an Nvme drive (C:) and a mechanical hard drive (D:), when the user notice that the D: drive is not there.
    10·1 answer
  • I’m printing a paper but it told me “printer has a paper jam” what does that mean?
    6·1 answer
  • The sequence of Figures shows a pattern. if the pattern repeats, how many triangles will the figure 5 have ?​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!