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
aalyn [17]
3 years ago
9

Does anybody have the answer for 2.19.6 checkerboard for codehs??

Computers and Technology
1 answer:
ANTONII [103]3 years ago
5 0

Answer:

speed(0)

penup()

setposition(-200,-200)

pendown()

def draw_square_row():

color_value = 0

for i in range (10):

if color_value %2 == 0:

begin_fill()

color("red")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

elif color_value %2 == 1:

begin_fill()

color("black")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

def draw_square_row_2():

color_value = 1

for i in range (10):

if color_value %2 == 0:

begin_fill()

color("red")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

elif color_value %2 == 1:

begin_fill()

color("black")

for i in range (4):

forward(40)

left(90)

forward(40)

color_value = color_value + 1

end_fill()

def move_up_a_row():

left(90)

forward(40)

right(90)

backward(400)

for i in range (5):

draw_square_row()

move_up_a_row()

draw_square_row_2()

move_up_a_row()

Explanation:

tell me if you get it right

You might be interested in
Do macs run with the same internal hardware as pc
Gennadij [26K]
No macs have a different internal because apple runs faster
5 0
3 years ago
Opposite word of reassembling​
Marysya12 [62]
<h3>OPPOSITE WORDS OF REASSEMBLING</h3>

  • disperse
  • disband
  • separate
8 0
3 years ago
Read 2 more answers
File Letter Counter
Zanzabum

Answer:

The solution code is written in Python.

  1. fileName = input("Enter file name: ")
  2. target = input("Enter target character: ")
  3. with open(fileName, "r")as reader:
  4.    content = reader.read()
  5.    print(content.count(target))

Explanation:

Firstly, use <em>input() </em>function to prompt user for a file name. (Line 1)

Next, we use input() function again to prompt user input a target character (Line 2)

Create a reader object and user <em>read() </em>method to copy entire texts from to the variable<em> content </em>(Line 4 - 5).

At last we can get the number of times the specified character appears in the file using the Python string built-in method <em>count() </em>(Line 6)

5 0
4 years ago
Build a snowman
katrin [286]
°o°>
\0/
O do you like my snow man


I want you to know that I’m never leaving cuz I’m mister snow to death we’ll be freezing so come on let’s go let’s go below zero and hide from the sun
7 0
3 years ago
Which of the following choices BEST explains the purpose of developing a research plan?
ira [324]

Answer:

C

Explanation:

Because the research is for everybody

4 0
3 years ago
Other questions:
  • Which of the following self-contained APs are autonomous, or independent, because they are separate from other network devices a
    5·1 answer
  • If a database is not maintained or if incorrect data is entered into the database, serious problems can occur. What problems cou
    15·1 answer
  • How does sugar dissolve in water ? &amp; Read Carefully ?
    9·1 answer
  • There are _______ pints are in 8 cups.
    10·2 answers
  • What is the most common password on the internet?
    11·2 answers
  • A newer kind of mobile site can do a lot of what only apps used to do, so the line has blurred between sites and apps. what are
    12·1 answer
  • What are 2 main differences betweenarrays andstructs?
    7·1 answer
  • When is the greatest risk of damage from electrostatic discharge?
    7·2 answers
  • Using this statement to answer the following question “FIFA World Cup 2010: (1+9) From Today!” (Ignore Quotation)
    9·1 answer
  • Ann, a user, reports that her pc is running slower than usual. which tool would best allow you to identify the bottleneck?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!