What is wrong in this python code import turtle bot = turtle.Turtle step = (50) turnAngle = (90) bot.Color("blue") bot.Begin_fill() bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.End_fill()

Answers

Answer 1

Answer:

The "Turtle" is a method and should be declared with parenthesis and every other method in the code (except the Turtle() ) should begin with lowercase letters like right, forward and begin_fill. The python file should not be saved as turtle.py to avoid import error.

Explanation:

The python turtle module is a graphical programming package created to introduce programming to children. It has several classes and methods to manipulate objects on the screen.

import turtle  

bot = turtle.Turtle()  

step =(50)  

turnAngle =90  

bot.color("blue")  

bot.begin_fill()  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.end_fill()


Related Questions

Question # 6
Math Formula
What is the output of this program? Assume the user enters 2, 5, 1, and 6.

numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)

Answers

Answer:

14.0

Explanation:

The loop converts each answer to a float. The accumulator variable adds the values entered.  

2.0 + 5.0 + 1.0 + 6.0 = 14.0

Answer:

14.0

Explanation:

Edge 2021

Select the correct answer.
What is a hyperlink?
A.
A bold link that goes back to a newspaper
B.
A link that clicks on itself
C.
A way to cite sources in an online article
D.
A special link on a smartphone

Answers

Answer:

c.

Explanation:

a link from a hypertext file or document to another location or file, typically activated by clicking on a highlighted word or image on the screen.

Answer:

c

Explanation:

came out my study guide and i made a 96 % on my 50 question test

What does a coder do on a daily basis?

Answers

medical charts and assinging codes

girls question
who wants to go out ;p

Answers

MEEEEE PICK ME CHOOSE ME IM LONELY

Answer: I do

Explanation: *P.S.* I'm a Boy

Part B
How would you classify a network formed by connecting two MANs together?
В І у хх Font Sizes А • А

Answers

Computer programming 2254518752669

Why can the internet keep growing as more devices are added without decrease in performance?

Answers

Answer:

Explanation:

There may be many reasons why your internet speed is slow. Internet use requires a reliable connection between your device and the destination, which may be a server that is physically located on the other side of the world.Your connection to that server could pass through hundreds of devices on its journey. Each one of these is a potential failure, or weak point. If one point along this path isn’t functioning optimally, this can significantly affect your internet experience.

There are many reasons your Internet connection might appear slow. It could be a problem with your modem or router, Wi-Fi signal, signal strength on your cable line, devices on your network saturating your bandwidth, or even a slow DNS server. These troubleshooting steps will help you pin down the cause.

what is a cloud in the world of computing

Answers

Answer:

In the simplest terms, cloud computing means storing and accessing data and programs over the internet instead of your computer's hard drive

Explanation:

Which search phrase is the most effective to find out about the most popular pizza chains worldwide in 2019?
A.
popular pizza chains in the world
B.
most popular AND pizza chains AND worldwide AND 2019
C.
the most popular pizzas “in the world today” AND 2019 AND chains
D.
2019 worldwide pizza chains “most popular in the world”

Answers

D I believe is correct

Answer:

D

Explanation:

A peripheral can be used to tell a computer to complete a specific task.
A) True
B)False

Answers

Answer:

A. true

Explanation:

because you can complete it without it mistakes if your using an computer but if you use an paper you will make mistakes over and over

Which function will find the difference of 15 and 3 and return 12 when the main part of your program has the following line of code?

answer = subtract(15,3)

def Subtract(numA, numB):
return numA - numB

def Subtract(numA, numB):
return numB - numA

def subtract(numA, numB):
return numA - numB

def subtract(numA, numB):
return numB - numA

Answers

Answer:def subtract(numA, numB):

   return numA - numB

Explanation:

i got the right answer but i was willing to get it wrong for the right anwser for you

The function that will find an accurate difference of 15 and 3 and return 12 when the main part of your program has the following line of code is as follows:

def subtract(numA, numB):

       return numA - numB

Thus, the correct option for this question is C.

What is the significance of the output of the program?

The significance of the output of the program is understood by the fact that it delivers some values or concepts to the user with respect to the instruction he/she is given to the computer for processing. The output of the program is very specific in nature.

According to the question, you have to assume the value of number A as 15 and number B as 3. So, when you find the difference between these numbers, you get an output of 12.

You must follow the process as follows while framing a program:

def subtract(numA, numB):

         return numA - numB

Therefore, the correct option for this question is C.

To learn more about Output of a program, refer to the link:

https://brainly.com/question/18079696

#SPJ2

Before he buys a new smartphone, Tim can best use data to

evaluate which phone he should get.
convince himself he wants a phone.
discredit others’ opinions on his phone choice.
recognize problems that all phones have.

Answers

It’s A or the first one, kinda like process of elimination, the second and third one are obviously eliminated first so then it’s just between a and d. But a makes more sense as to he has to buy one either way

Answer:

A.) Evaluate which phone he should get

Explanation:

Edge2020

Other Questions
A box has the following measurements:Length - 8 cmWidth - 4.2 cmHeight - 3.1 cmThe volume of the box is calculated as length times width times heightComplete the statements to find the box's volume.1. First multiply length times width. Show your work and explain how you placed thedecimal point What is 120/160 in simplest form? Is this a solution or an inequality? 5 - x < 8; x = -3 HELP ASAPPPWhat is 60% of 40? The ____ is the source of all energy in our atmosphere. a. Sun c. Moon b. water cycle d. Coriolis effect Find the equation of the parabola with a focus at the point (2,5), and a directrix of y = 3. which event marked the "end of armed conflict between whites and native Americans?A. Battle of little bighorn(1876)B. Battle at wounded knee(1890)C. Dawes Act(1887)D. Geronimo's surrender(1886) What is the difference between a play written in verse and one written in narrative prose? HURRY PLEASEEEEA line has a slope of -3 and passes through the point (-3, 8) What is the equation of the line? Use geographic terms and tools to explain why ancient civilizations developed networks of highways, waterways, and other transportation linkages.What allowed the Incan army to travel most quickly throughout the empire?A. their special chariotsB. their fleet of shipsC. their network of roadsD. their use of canalsBest answer gets Brainliest Which is the graph of x298.6? ?95 6 97 98 9 100 101 102 10305 96 97 8 9 100 01 102 103||||-+95 6 7 8 9 100 100 10 103|||| + ++ +++95 6 7 8 9 100 101 102 103 It costs $20 for 4 t shirts. Find the cost of 1 t shirt. Solve the equation below for a Read the excerpt from Narrative of the Life of Frederick Douglass.When we got about half way to St. Michael's, while the constables having us in charge were looking ahead, Henry inquired of me what he should do with his pass. I told him to eat it with his biscuit, and own nothing; and we passed the word around, "Own nothing;" and "Own nothing!" said we all.What is Douglasss purpose in this excerpt?A. to describe the determination of his companionsB. to encourage readers to question authorityC. to persuade others to try new foodsD. to entertain readers with an exciting adventure What notes are these??(For violin) CAN SOMEONE PLEASE HELP ME . A person weighing 120 pounds has about 20 pints of blood in their body. Which equation below represents the relationship between pints of blood, b, to a person's weight, w? if you have a few people on the rope,the box will be easier to move Sheridan Company receives a $14000, 3-month, 8% promissory note from Carla Vista Company in settlement of an open accounts receivable. What entry will Sheridan Company make upon receiving the note? Find the dimensions of a rectangle whose width is 5 miles less than its length and whose area is 84