QUESTION IMAGE
Question
your python program has this code.
for n = 1 to 10:
position = position + 10 # move the position 10 steps.
direction = direction + 90 # change the direction by 90 degrees.
you decided to write your program in a block programming language.
what type of block do you need to start?
event
motion
voice and graphics
control
In block programming languages, when converting a loop (in this case, a for loop in Python), the starting block type is related to control structures. Control blocks are used to manage the flow of a program, including loops. The for loop in Python is a control - flow construct that iterates a certain number of times.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
control