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
defon
2 years ago
14

CALLING ALL COMPUTER SCIENCE LOVERS!!!!!!!

Computers and Technology
1 answer:
Anni [7]2 years ago
4 0

Answer:

# Instead of repeating code over and over

forward(10)

left(90)

forward(10)

left(90)

forward(10)

left(90)

forward(10)

left(90)

# Use a for loop to repeat the code!

for i in range(4):

   forward(10)

   left(90)

# You can use the i variable inside the loop

# i starts at 0, and goes up to COUNT-1

# This will make Tracy move forward 0, then 1, then 2

for i in range(3):

   forward(i)

# You can change the value of i inside a for loop by using mathematical expressions

for i in range(3):

   forward(i*10)

# You can also control the value of i by using extended parameters

for i in range(STARTING_VALUE, ENDING_VALUE, INCREMENT):

# This will move Tracy forward 25, 50, and 75 pixels

for i in range(25, 76, 25):

   forward(i)

love you guys <3

You might be interested in
What is the main difference between a fileserver and network attached storage (NAS)?
solmaris [256]

Answer:a filserver is better for smaller companies

Explanation:

Hope this helps :)

3 0
3 years ago
Given an list of N integers, Insertion Sort will, for each element in the list starting from the second element: Compare the ele
Elena L [17]

Answer:

def insSort(arr):

ct=0;

for i in range(1, len(arr)):

key = arr[i]

j = i-1

while j >=0 and key < arr[j] :

arr[j+1] = arr[j]

j -= 1

ct=ct+1;

arr[j+1] = key

return arr,ct;

print(insSort([2,1]))

Output of the program is also attached.

8 0
4 years ago
An anchor tag can be coded using which two attributes? HELP ME PLEASE!!!!
Mashcka [7]

Answer:

option 1

Explanation:

href tag:- It gives the url of the destination where the link is forwarded to. It ia clickable portion of text.

name tag:- It defines the name of anchor.

5 0
4 years ago
Read 2 more answers
why is there a need of properly interpreting teacher's/manufacturer's specifications before operating any food processing equipm
mash [69]

Answer:

Explanation:

This is a significant need because the teacher's/manufacturer's specifications are created so that the individual operating the equipment knows how to properly operate it. Failure to read and properly interpret these specifications can lead to the damaging of the equipment, damaging the food, contamination of the food, and even injury/death to the operator. That is why it is crucial that the information is read and interpreted correctly as well as implemented as instructed.

7 0
3 years ago
Ryan wants to connect his flash drive to the computer. Which port should he use?
schepotkina [342]
It is the USB port..............................................  
3 0
3 years ago
Read 2 more answers
Other questions:
  • An IT technician has manually configured an IP address on a laptop for a new employee. Each time the employee tries to connect t
    8·1 answer
  • The Freemont Automobile Factory has discovered that the longer a worker has been on the job, the more parts the worker can produ
    11·1 answer
  • What software development model focuses on improving the product in small steps each time through the cycle?
    14·2 answers
  • When deciding how to invest your money, which of the following is least important to know
    7·1 answer
  • Which statement accurately compares the restart at 1 and continue numbering featured of word
    15·2 answers
  • Which kind of system software tells the computer how to communicate with peripherals, such as a prero
    6·2 answers
  • COMPUTER FUNDIMENTAL HELP 20 POINTS!!!
    5·1 answer
  • A ……………………………is used to verify the identity of a website and is issued to the owner of the website by an independent and recogni
    7·2 answers
  • ______ provide visual representations of the options available for a given command
    7·1 answer
  • How do I mark brainlyist
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!