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
ludmilkaskok [199]
3 years ago
14

Which code must be included to use Turtle Graphics?

Computers and Technology
2 answers:
lara [203]3 years ago
8 0

Answer: def main:turtle

Explanation: I am so sorry if its wrong

grandymaker [24]3 years ago
3 0

Answer:

import turtle

Explanation:

import turtle will import the turtle code into your current source file so you can use it.

You might be interested in
In this module you learned about advanced modularization techniques. You learned about the advantages of modularization and how
Sedbober [7]

Answer:

Following are the code to the given question:

def getSAOneSide(edge):#defining a method that getSAOneSide that takes edge patameter

   return edge * edge#use return to calculate the edge value

def getSA(SA_one_side):#defining a method that getSA that takes SA_one_side patameter

   return 6 * SA_one_side#use return to calculate the SA_one_side value

def volume(edge):#defining a method that volume that takes edge patameter

   return edge * edge * edge#use return to calculate edge value

edge = int(input("Enter the length of edge of the cube:\n"))#defining edge variable that input value

SA_one_side = getSAOneSide(edge)#defining SA_one_side that holds getSAOneSide method value

print("Surface area of one side of the cube:", SA_one_side)

surfaceArea = getSA(SA_one_side)#defining a surfaceArea that holds getSA method value

print("Surface area of the cube:", surfaceArea)#print surfaceArea value

vol = volume(edge)#defining vol variable that holds Volume method value

print("Volume of the cube:", vol)#print vol Value

Output:

Please find the attached file.

Explanation:

In the code three method "getSAOneSide, getSA, and volume" method is declared that takes a variable in its parameters and use a return keyword that calculates and return its value.

In the next step,edge variable is declared that holds value from the user and defines three variable that holds method value and print its value with the message.

7 0
3 years ago
Rhea is creating a digital textbook. She plans to use features that will help make the book more interesting for learners. Which
musickatia [10]
I would go with c. Audio and visuals catch peoples attention
4 0
3 years ago
Read 2 more answers
Press ____ to select the entire worksheet.<br> F1<br> F4<br> ALT+A<br> CTRL+A
andreev551 [17]
<span>The answer is CTRL + A, this selects whole worksheet (A means all). In computing, a Control key is a transformer key which, when pushed in combination with one more key, achieves a singular operation (for example, Ctrl + A; like the Shift key, the Control key infrequently achieves any purpose when pushed by itself.</span>
5 0
3 years ago
Write a program that contains a main function and a custom, void function named show_larger that takes two random integers as pa
melisa1 [442]

A program that contains a main function and a custom, void function named show_larger that takes two random integers as parameters.

Explanation:

  • The difference must be expressed as a positive number if the random integers differ.
  • If the random integers are the same, show_larger should handle that, too. See example outputs.

def main():

value_1=random.randrange(1,6)

value_2=random.rangrange(1,6)

def show_larger():    

difference= value_1=-value_2

if value_1 == value_2:

   print('The integers are equal, both are' + str(value_1))

8 0
3 years ago
I hope people have Small basic PLEASE PLEASE PLEASE HELP ME
Makovka662 [10]

Answer:

NRMARKS = 5

total = 0

TextWindow.WriteLine("Enter the marks of five subjects::")

For i=1 to NRMARKS

   TextWindow.WriteLine("Enter mark #"+i)

   marks[i] = TextWindow.ReadNumber()

   total = total + marks[i]

EndFor

average = total/NRMARKS

if average >= 90 then

   grade = "A"

ElseIf average >= 80 Then

   grade = "B"

ElseIf average >= 70 Then

   grade = "C"

ElseIf average >= 60 Then

   grade = "D"

Else

   grade = "F"

EndIf

TextWindow.WriteLine("The Total marks is: "+ total + "/" + NRMARKS*100)

TextWindow.WriteLine("The Average marks is: " + average)

TextWindow.WriteLine("The Percentage is: " + average + "%")

TextWindow.WriteLine("The Grade is: "+grade)

Explanation:

8 0
3 years ago
Other questions:
  • Why should you limit what information is in your digital footprint?
    12·1 answer
  • What is a commonly publicized password sql injection string?
    10·1 answer
  • Why does brainly have 3-2 sites? I'm asking since I get tired from making 3-2 accounts on each one. Well by checking each accoun
    12·1 answer
  • Which of the following are examples of the concept of layered access in physical security? Select one: a. Firewall, IDS, CCTV b.
    11·2 answers
  • What is the output of the code below assuming that global variable x has value 2 and global y has value 3? def f1(): return "ab"
    13·1 answer
  • Which button do you use to put data in a specific order
    11·1 answer
  • Software that uses signature-based detection contains a library of signatures of known _____?
    11·2 answers
  • Plz help me this plz
    13·1 answer
  • Andie visits a webpage that features a dancing monkey that changes dance moves when she hovers over it. Which of the following w
    6·1 answer
  • Write a program in c# that simulates the roll of two six sided dice.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!