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
Mrs. Schlair has an annual salary of $96,402.<br> a. What would her semimonthly salary be?
amid [387]

Answer:$4016.75

Explanation:64333/24

3 0
3 years ago
An information system will be developed to keep track of a utility company's assets, such as buildings, vehicles, and equipment.
Daniel [21]

The four standard layers of a layered architecture are:

  • presentation,
  • business,
  • persistence,
  • database.

<h3>What is a Layered Architecture?</h3>

This refers to the architectural style that is used to show components with similar functions in horizontal layers that have specific roles.

Hence, we can see that no generic info system architecture was attached to the answer, so it would be impossible to create a layered architecture, so a general overview was given about layered architecture.

Read more about layered architecture here:

brainly.com/question/2563702

#SPJ1

8 0
2 years ago
If my_string = "This is MY string!", why does print (my_string[0:7:5]) return "Ti" and not
notka56 [123]

In Python, a string is an array of characters, we can access these characters using index operator []. For example, we have a_string = "Hello World" a_string[0] prints the first character in string ('H').

We can also use index operator to make substrings, for example a_string[0:3] will make a substring with first, second, third and fourth character equal to "Hell".

Now to business

my_string = "This is MY string!"

print(my_string[0:7]) # Prints "This is "

print(my_string[0:7:5]) # Prints "T" then prints the sixth character since we start counting at 0 hence prints "Ti" (note that space is also a character).

Hope this helps.

7 0
4 years ago
Why would a virtual machine be useful in a school? It provides a completely secure connection to the internet. Students can coll
Stels [109]
They can learn more and also it’s faster
5 0
3 years ago
Which command can be used to remove the test dpm package, including any test configuration files?
sesenic [268]
The apt-get remove test  command can be used to remove the test <span>Debian package management (</span>dpm) package, including any test configuration files.  
6 0
4 years ago
Other questions:
  • File formats are linked to certain programs.<br><br> True<br> False
    12·2 answers
  • Consider a Games Expo for Children. Six competitions are laid out for the expo. Tickets are sold according to the age and gender
    11·1 answer
  • Describe a strategy that you could use to win the recess basketball shooting game HORSE. Analyze your strategy’s risks and rewar
    9·1 answer
  • Define E-Mail Write any 4 special features of E-Mail ​
    13·1 answer
  • What kind of waste does a computer generate?<br><br> Will give brainly :3
    12·1 answer
  • Project: Big Data Programming - Section 2
    11·1 answer
  • High level language is___________
    15·1 answer
  • Genres are useful for many reaseons. What are some explanations you can think of for how genres can be useful to players, game d
    5·1 answer
  • CODEHS- Can someone please help me with this! It is due tomorrow.
    11·1 answer
  • What device senses short circuits and stops electrical flow when ground faults occur?.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!