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
taurus [48]
2 years ago
10

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

l() 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()
Computers and Technology
1 answer:
Mariana [72]2 years ago
8 0

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()

You might be interested in
A______ is a picture icon that is a direct link to a file or folder
Nat2105 [25]
A shortcut is a picture icon that is a direct link to a file or folder.
6 0
3 years ago
What tasks should a laptop accomplish?
Marta_Voda [28]

Answer:

general & personal used for computing.

3 0
3 years ago
If an occupation is projected to grow by 13% over the next 10 years, how would you rate the job outlook?
Elena L [17]

Answer:

Steady

Explanation:

Its not an insane growth rate but it would more then likely be Steady.

6 0
3 years ago
Read 2 more answers
All resources are limited. Which of the following is NOT a resource?
gladu [14]
The appropriate answer is C ! all other are very limited but labour can be increased or decreased according to our will and it doesn't exhaust !
3 0
3 years ago
Which of the following is part of Connections Academy's AUP regarding the use of the school'supplied technology
sergey [27]
A)technology supplied by connections should only be used for school purposes
6 0
3 years ago
Read 2 more answers
Other questions:
  • Use your own words to describe how IT/IS can support major functional areas in the business. Discuss at least two of these areas
    14·1 answer
  • How to remove a channel from favorite list on suddenlink?
    15·1 answer
  • It's time for you to schedule a dental checkup. The responsible thing to do is to ___
    11·1 answer
  • Ar count = 10;
    13·1 answer
  • A collection of facts can be copyrighted, but only if the collection is ____ in a way that causes the resulting work to rise to
    14·1 answer
  • Danielle, a help desk technician, receives a call from a client. In a panic, he explains that he was using the Internet to resea
    9·1 answer
  • The template code provided is intended to check whether an integer entered by the user is outside of the range 20-29 (inclusive)
    9·1 answer
  • Un producto tecnológico puede ser tangible o intangible?
    6·1 answer
  • Magnetic video tape in a plastic casing is a?
    13·1 answer
  • List at least 5 disadvantages caused by computer viruses?​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!