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
Answer:
full duplex communication.
Explanation:
In a duplex type of topology or communication, data or information can be transferred in both directions.
There are two different types of these communications
Answer:
speed = float(input("Enter the speed: "))
hours = int(input("Enter the hours: "))
distance = 0
for i in range(hours):
distance += speed * 1
print("The distance after " + str(i+1) + ". hour(s): " + str(distance))
Explanation:
*The code is in Python.
Ask the user to enter the speed and the hours
Initialize the distance as 0
Create a for loop that iterates hours times. Inside the loop, calculate the cumulative distance traveled at the end of each hour and print it (Note that the distance = speed x hour)
Answer:
The correct answer is <u>mainframe</u>
I hope this helps! ^-^